#9874F9#9874F9

#9874F9 is a light, vivid violet. Relative luminance 0.260; OKLCH L 65.6% C 0.191 H 292.9°. Best body text is #000000 at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#9874F9
RGBrgb(152, 116, 249)
HSLhsl(256, 92%, 72%)
HSVhsv(256, 53%, 98%)
CMYKcmyk(39%, 53.4%, 0%, 2.4%)
CIE-LABlab(58.04, 43.58, -61.91)
CIE-LCHlch(58.04, 75.71, 305.15°)
OKLaboklab(65.63% 0.0741 -0.1757)
OKLCHoklch(65.63% 0.191 292.9)
XYZxyz(36.2886, 26.0048, 92.7116)
Luminance0.2601 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9874F9 #D5F974
analogous
#7493F9 #9874F9 #DB74F9
triadic
#9874F9 #F99874 #74F998
tetradic
#9874F9 #F97493 #D5F974 #74F9DB
square
#9874F9 #F97493 #D5F974 #74F9DB
split-complementary
#9874F9 #F9DB74 #93F974
monochromatic
#460AE9 #6D39F6 #9874F9 #C3AFFC #E9E2FE

Accessibility & contrast

On white

3.39
#9874F9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.20
#9874F9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9874F9
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9874F9#FFFFFF#000000##000000
##9874F91.003.396.206.20
#FFFFFF3.391.0021.0021.00
#0000006.2021.001.001.00
##0000006.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#378DFE
Deuteranopia (green-blind)
#3F89F6
Tritanopia (blue-blind)
#7F90AC
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #9874f9;
/* rgb */ color: rgb(152, 116, 249);
/* oklch */ color: oklch(65.6% 0.191 292.9);
Tailwind
colors: {
  custom: {
    50: '#bb9dfc',
    500: '#9874f9',
    950: '#000000',
  },
}
SCSS
$custom: #9874f9;
$custom-light: #bb9dfc;
$custom-dark: #000000;
JSON
{
  "hex": "#9874f9",
  "rgb": {
    "r": 152,
    "g": 116,
    "b": 249
  },
  "hsl": {
    "h": 256.241,
    "s": 91.724,
    "l": 71.569
  },
  "oklch": {
    "l": 0.65634,
    "c": 0.19071,
    "h": 292.9
  },
  "luminance": 0.26006
}

Semantic roles & 50–950 ramp

primary
#9874F9
secondary
#ECF5D3
accent
#E600A7
background
#FBF9FF
surface
#F7F2FF
border
#D0CCD7
text
#120E17
muted
#817E85

Preview Lab

Preview with #9874F9

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

Preview Lab → · Contrast checker → · Palette generator →

#9874F9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva