#9874CF#9874CF

#9874CF is a light, vivid violet. Relative luminance 0.237; OKLCH L 63.2% C 0.137 H 300.8°. Best body text is #000000 at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#9874CF
RGBrgb(152, 116, 207)
HSLhsl(264, 49%, 63%)
HSVhsv(264, 44%, 81%)
CMYKcmyk(26.6%, 44%, 0%, 18.8%)
CIE-LABlab(55.76, 32.84, -42.04)
CIE-LCHlch(55.76, 53.35, 308.00°)
OKLaboklab(63.19% 0.0701 -0.1176)
OKLCHoklch(63.19% 0.137 300.8)
XYZxyz(30.4542, 23.6711, 61.9839)
Luminance0.2367 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9874CF #ABCF74
analogous
#747DCF #9874CF #C574CF
triadic
#9874CF #CF9874 #74CF98
tetradic
#9874CF #CF747D #ABCF74 #74CFC5
square
#9874CF #CF747D #ABCF74 #74CFC5
split-complementary
#9874CF #CFC574 #7DCF74
monochromatic
#5A3395 #7647BF #9874CF #BAA1DF #DBCFEE

Accessibility & contrast

On white

3.66
#9874CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.73
#9874CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9874CF
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9874CF#FFFFFF#000000##000000
##9874CF1.003.665.735.73
#FFFFFF3.661.0021.0021.00
#0000005.7321.001.001.00
##0000005.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B85D2
Deuteranopia (green-blind)
#6285CD
Tritanopia (blue-blind)
#8E8498
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #9874cf;
/* rgb */ color: rgb(152, 116, 207);
/* oklch */ color: oklch(63.2% 0.137 300.8);
Tailwind
colors: {
  custom: {
    50: '#b89cde',
    500: '#9874cf',
    950: '#000000',
  },
}
SCSS
$custom: #9874cf;
$custom-light: #b89cde;
$custom-dark: #000000;
JSON
{
  "hex": "#9874cf",
  "rgb": {
    "r": 152,
    "g": 116,
    "b": 207
  },
  "hsl": {
    "h": 263.736,
    "s": 48.663,
    "l": 63.333
  },
  "oklch": {
    "l": 0.63189,
    "c": 0.13693,
    "h": 300.8
  },
  "luminance": 0.23671
}

Semantic roles & 50–950 ramp

primary
#9874CF
secondary
#D3E0BF
accent
#BC2A82
background
#FBF9FD
surface
#F6F2FB
border
#D0CCD4
text
#120E15
muted
#817E83

Preview Lab

Preview with #9874CF

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

Preview Lab → · Contrast checker → · Palette generator →

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