#9857F4#9857F4

#9857F4 is a mid, highly saturated violet. Relative luminance 0.200; OKLCH L 61.0% C 0.224 H 298.5°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#9857F4
RGBrgb(152, 87, 244)
HSLhsl(265, 88%, 65%)
HSVhsv(265, 64%, 96%)
CMYKcmyk(37.7%, 64.3%, 0%, 4.3%)
CIE-LABlab(51.86, 57.78, -69.09)
CIE-LCHlch(51.86, 90.06, 309.90°)
OKLaboklab(61.02% 0.107 -0.1968)
OKLCHoklch(61.02% 0.224 298.5)
XYZxyz(32.6821, 20.0230, 87.7134)
Luminance0.2002 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9857F4 #B3F457
analogous
#5764F4 #9857F4 #E757F4
triadic
#9857F4 #F49857 #57F498
tetradic
#9857F4 #F45764 #B3F457 #57F4E7
square
#9857F4 #F45764 #B3F457 #57F4E7
split-complementary
#9857F4 #F4E757 #64F457
monochromatic
#590DC4 #751EF0 #9857F4 #BB90F8 #DECAFC

Accessibility & contrast

On white

4.20
#9857F4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#9857F4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9857F4
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9857F4#FFFFFF#000000##000000
##9857F41.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CF9
Deuteranopia (green-blind)
#007AF1
Tritanopia (blue-blind)
#837B9E
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #9857f4;
/* rgb */ color: rgb(152, 87, 244);
/* oklch */ color: oklch(61.0% 0.224 298.5);
Tailwind
colors: {
  custom: {
    50: '#bc8af9',
    500: '#9857f4',
    950: '#000000',
  },
}
SCSS
$custom: #9857f4;
$custom-light: #bc8af9;
$custom-dark: #000000;
JSON
{
  "hex": "#9857f4",
  "rgb": {
    "r": 152,
    "g": 87,
    "b": 244
  },
  "hsl": {
    "h": 264.841,
    "s": 87.709,
    "l": 64.902
  },
  "oklch": {
    "l": 0.61015,
    "c": 0.22404,
    "h": 298.5
  },
  "luminance": 0.20023
}

Semantic roles & 50–950 ramp

primary
#9857F4
secondary
#D8EEB9
accent
#E40186
background
#FCF8FF
surface
#F8F0FF
border
#D1CBD7
text
#130C17
muted
#827D85

Preview Lab

Preview with #9857F4

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

Preview Lab → · Contrast checker → · Palette generator →

#9857F4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva