#8255EE#8255EE

#8255EE is a mid, highly saturated violet. Relative luminance 0.174; OKLCH L 58.1% C 0.218 H 291.7°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#8255EE
RGBrgb(130, 85, 238)
HSLhsl(258, 82%, 63%)
HSVhsv(258, 64%, 93%)
CMYKcmyk(45.4%, 64.3%, 0%, 6.7%)
CIE-LABlab(48.78, 53.01, -70.84)
CIE-LCHlch(48.78, 88.48, 306.81°)
OKLaboklab(58.13% 0.0806 -0.2027)
OKLCHoklch(58.13% 0.218 291.7)
XYZxyz(27.8827, 17.4149, 82.7646)
Luminance0.1742 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8255EE #C1EE55
analogous
#5574EE #8255EE #CE55EE
triadic
#8255EE #EE8255 #55EE82
tetradic
#8255EE #EE5574 #C1EE55 #55EECE
square
#8255EE #EE5574 #C1EE55 #55EECE
split-complementary
#8255EE #EECE55 #74EE55
monochromatic
#4312B6 #591DE8 #8255EE #AB8DF4 #D4C4F9

Accessibility & contrast

On white

4.68
#8255EE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#8255EE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8255EE
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8255EE#FFFFFF#000000##FFFFFF
##8255EE1.004.684.484.68
#FFFFFF4.681.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076F3
Deuteranopia (green-blind)
#0071EB
Tritanopia (blue-blind)
#617A9A
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #8255ee;
/* rgb */ color: rgb(130, 85, 238);
/* oklch */ color: oklch(58.1% 0.218 291.7);
Tailwind
colors: {
  custom: {
    50: '#ae87f5',
    500: '#8255ee',
    950: '#000000',
  },
}
SCSS
$custom: #8255ee;
$custom-light: #ae87f5;
$custom-dark: #000000;
JSON
{
  "hex": "#8255ee",
  "rgb": {
    "r": 130,
    "g": 85,
    "b": 238
  },
  "hsl": {
    "h": 257.647,
    "s": 81.818,
    "l": 63.333
  },
  "oklch": {
    "l": 0.58131,
    "c": 0.21811,
    "h": 291.7
  },
  "luminance": 0.17416
}

Semantic roles & 50–950 ramp

primary
#8255EE
secondary
#DBEBB4
accent
#DE079F
background
#FBF8FF
surface
#F6F0FE
border
#D0CBD6
text
#110B17
muted
#807C85

Preview Lab

Preview with #8255EE

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

Preview Lab → · Contrast checker → · Palette generator →

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