#8255F2#8255F2

#8255F2 is a mid, highly saturated violet. Relative luminance 0.177; OKLCH L 58.4% C 0.223 H 291.1°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#8255F2
RGBrgb(130, 85, 242)
HSLhsl(257, 86%, 64%)
HSVhsv(257, 65%, 95%)
CMYKcmyk(46.3%, 64.9%, 0%, 5.1%)
CIE-LABlab(49.07, 54.09, -72.61)
CIE-LCHlch(49.07, 90.54, 306.68°)
OKLaboklab(58.43% 0.0802 -0.2079)
OKLCHoklch(58.43% 0.223 291.1)
XYZxyz(28.4769, 17.6526, 85.8940)
Luminance0.1765 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8255F2 #C5F255
analogous
#5577F2 #8255F2 #D055F2
triadic
#8255F2 #F28255 #55F282
tetradic
#8255F2 #F25577 #C5F255 #55F2D0
square
#8255F2 #F25577 #C5F255 #55F2D0
split-complementary
#8255F2 #F2D055 #77F255
monochromatic
#410FBE #581CEE #8255F2 #AC8EF6 #D6C7FB

Accessibility & contrast

On white

4.63
#8255F2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#8255F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #8255F2
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8255F2#FFFFFF#000000##FFFFFF
##8255F21.004.634.534.63
#FFFFFF4.631.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077F7
Deuteranopia (green-blind)
#0071EF
Tritanopia (blue-blind)
#5F7B9C
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #8255f2;
/* rgb */ color: rgb(130, 85, 242);
/* oklch */ color: oklch(58.4% 0.223 291.1);
Tailwind
colors: {
  custom: {
    50: '#ae87f7',
    500: '#8255f2',
    950: '#000000',
  },
}
SCSS
$custom: #8255f2;
$custom-light: #ae87f7;
$custom-dark: #000000;
JSON
{
  "hex": "#8255f2",
  "rgb": {
    "r": 130,
    "g": 85,
    "b": 242
  },
  "hsl": {
    "h": 257.197,
    "s": 85.792,
    "l": 64.118
  },
  "oklch": {
    "l": 0.58434,
    "c": 0.22278,
    "h": 291.1
  },
  "luminance": 0.17654
}

Semantic roles & 50–950 ramp

primary
#8255F2
secondary
#DDEDB6
accent
#E203A2
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110B17
muted
#807C85

Preview Lab

Preview with #8255F2

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#8255F2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva