#8857F2#8857F2

#8857F2 is a mid, highly saturated violet. Relative luminance 0.185; OKLCH L 59.3% C 0.220 H 293.0°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#8857F2
RGBrgb(136, 87, 242)
HSLhsl(259, 86%, 65%)
HSVhsv(259, 64%, 95%)
CMYKcmyk(43.8%, 64%, 0%, 5.1%)
CIE-LABlab(50.05, 54.15, -70.99)
CIE-LCHlch(50.05, 89.29, 307.34°)
OKLaboklab(59.28% 0.0861 -0.2029)
OKLCHoklch(59.28% 0.22 293)
XYZxyz(29.5842, 18.4606, 85.9917)
Luminance0.1846 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8857F2 #C1F257
analogous
#5774F2 #8857F2 #D657F2
triadic
#8857F2 #F28857 #57F288
tetradic
#8857F2 #F25774 #C1F257 #57F2D6
square
#8857F2 #F25774 #C1F257 #57F2D6
split-complementary
#8857F2 #F2D657 #74F257
monochromatic
#470FC0 #601EEE #8857F2 #B090F6 #D8C9FB

Accessibility & contrast

On white

4.48
#8857F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#8857F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8857F2
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8857F2#FFFFFF#000000##000000
##8857F21.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079F7
Deuteranopia (green-blind)
#0074EF
Tritanopia (blue-blind)
#6A7C9D
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #8857f2;
/* rgb */ color: rgb(136, 87, 242);
/* oklch */ color: oklch(59.3% 0.220 293.0);
Tailwind
colors: {
  custom: {
    50: '#b289f7',
    500: '#8857f2',
    950: '#000000',
  },
}
SCSS
$custom: #8857f2;
$custom-light: #b289f7;
$custom-dark: #000000;
JSON
{
  "hex": "#8857f2",
  "rgb": {
    "r": 136,
    "g": 87,
    "b": 242
  },
  "hsl": {
    "h": 258.968,
    "s": 85.635,
    "l": 64.51
  },
  "oklch": {
    "l": 0.59279,
    "c": 0.22044,
    "h": 293
  },
  "luminance": 0.18461
}

Semantic roles & 50–950 ramp

primary
#8857F2
secondary
#DCEDB8
accent
#E2039C
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#120C17
muted
#817D85

Preview Lab

Preview with #8857F2

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

Preview Lab → · Contrast checker → · Palette generator →

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