#9874FF#9874FF

#9874FF is a light, vivid violet. Relative luminance 0.264; OKLCH L 66.0% C 0.198 H 292.0°. Best body text is #000000 at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#9874FF
RGBrgb(152, 116, 255)
HSLhsl(256, 100%, 73%)
HSVhsv(256, 55%, 100%)
CMYKcmyk(40.4%, 54.5%, 0%, 0%)
CIE-LABlab(58.40, 45.18, -64.64)
CIE-LCHlch(58.40, 78.86, 304.95°)
OKLaboklab(66.02% 0.0743 -0.1837)
OKLCHoklch(66.02% 0.198 292)
XYZxyz(37.2394, 26.3851, 97.7191)
Luminance0.2639 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9874FF #DBFF74
analogous
#7495FF #9874FF #DE74FF
triadic
#9874FF #FF9874 #74FF98
tetradic
#9874FF #FF7495 #DBFF74 #74FFDE
square
#9874FF #FF7495 #DBFF74 #74FFDE
split-complementary
#9874FF #FFDE74 #95FF74
monochromatic
#4000F9 #6B37FF #9874FF #C5B1FF #E8E0FF

Accessibility & contrast

On white

3.35
#9874FF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.28
#9874FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9874FF
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9874FF#FFFFFF#000000##000000
##9874FF1.003.356.286.28
#FFFFFF3.351.0021.0021.00
#0000006.2821.001.001.00
##0000006.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E8EFF
Deuteranopia (green-blind)
#378AFC
Tritanopia (blue-blind)
#7C92AF
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #9874ff;
/* rgb */ color: rgb(152, 116, 255);
/* oklch */ color: oklch(66.0% 0.198 292.0);
Tailwind
colors: {
  custom: {
    50: '#bc9dff',
    500: '#9874ff',
    950: '#000000',
  },
}
SCSS
$custom: #9874ff;
$custom-light: #bc9dff;
$custom-dark: #000000;
JSON
{
  "hex": "#9874ff",
  "rgb": {
    "r": 152,
    "g": 116,
    "b": 255
  },
  "hsl": {
    "h": 255.54,
    "s": 100,
    "l": 72.745
  },
  "oklch": {
    "l": 0.66015,
    "c": 0.1982,
    "h": 292
  },
  "luminance": 0.26386
}

Semantic roles & 50–950 ramp

primary
#9874FF
secondary
#EEF7D4
accent
#E600AA
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#120E18
muted
#817E86

Preview Lab

Preview with #9874FF

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

Preview Lab → · Contrast checker → · Palette generator →

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