#9F74EE#9F74EE

#9F74EE is a light, vivid violet. Relative luminance 0.260; OKLCH L 65.6% C 0.178 H 297.6°. Best body text is #000000 at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#9F74EE
RGBrgb(159, 116, 238)
HSLhsl(261, 78%, 69%)
HSVhsv(261, 51%, 93%)
CMYKcmyk(33.2%, 51.3%, 0%, 6.7%)
CIE-LABlab(58.07, 42.41, -55.73)
CIE-LCHlch(58.07, 70.03, 307.27°)
OKLaboklab(65.61% 0.0821 -0.1574)
OKLCHoklch(65.61% 0.178 297.6)
XYZxyz(35.9723, 26.0343, 84.0023)
Luminance0.2604 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F74EE #C3EE74
analogous
#7486EE #9F74EE #DC74EE
triadic
#9F74EE #EE9F74 #74EE9F
tetradic
#9F74EE #EE7486 #C3EE74 #74EEDC
square
#9F74EE #EE7486 #C3EE74 #74EEDC
split-complementary
#9F74EE #EEDC74 #86EE74
monochromatic
#5919CE #793DE7 #9F74EE #C5ABF5 #EAE1FB

Accessibility & contrast

On white

3.38
#9F74EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.21
#9F74EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F74EE
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F74EE#FFFFFF#000000##000000
##9F74EE1.003.386.216.21
#FFFFFF3.381.0021.0021.00
#0000006.2121.001.001.00
##0000006.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#468CF2
Deuteranopia (green-blind)
#518AEB
Tritanopia (blue-blind)
#8E8CA6
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #9f74ee;
/* rgb */ color: rgb(159, 116, 238);
/* oklch */ color: oklch(65.6% 0.178 297.6);
Tailwind
colors: {
  custom: {
    50: '#bf9df4',
    500: '#9f74ee',
    950: '#000000',
  },
}
SCSS
$custom: #9f74ee;
$custom-light: #bf9df4;
$custom-dark: #000000;
JSON
{
  "hex": "#9f74ee",
  "rgb": {
    "r": 159,
    "g": 116,
    "b": 238
  },
  "hsl": {
    "h": 261.148,
    "s": 78.205,
    "l": 69.412
  },
  "oklch": {
    "l": 0.65607,
    "c": 0.17753,
    "h": 297.6
  },
  "luminance": 0.26035
}

Semantic roles & 50–950 ramp

primary
#9F74EE
secondary
#E4F0CD
accent
#DA0B91
background
#FCF9FF
surface
#F8F2FE
border
#D1CCD6
text
#120E17
muted
#817E85

Preview Lab

Preview with #9F74EE

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

Preview Lab → · Contrast checker → · Palette generator →

#9F74EE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva