#9F74EB#9F74EB

#9F74EB is a light, vivid violet. Relative luminance 0.259; OKLCH L 65.4% C 0.174 H 298.1°. Best body text is #000000 at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#9F74EB
RGBrgb(159, 116, 235)
HSLhsl(262, 75%, 69%)
HSVhsv(262, 51%, 92%)
CMYKcmyk(32.3%, 50.6%, 0%, 7.8%)
CIE-LABlab(57.90, 41.65, -54.32)
CIE-LCHlch(57.90, 68.45, 307.48°)
OKLaboklab(65.43% 0.0819 -0.1533)
OKLCHoklch(65.43% 0.174 298.1)
XYZxyz(35.5352, 25.8595, 81.7004)
Luminance0.2586 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F74EB #C0EB74
analogous
#7485EB #9F74EB #DB74EB
triadic
#9F74EB #EB9F74 #74EB9F
tetradic
#9F74EB #EB7485 #C0EB74 #74EBDB
square
#9F74EB #EB7485 #C0EB74 #74EBDB
split-complementary
#9F74EB #EBDB74 #85EB74
monochromatic
#5B1DC8 #7A3EE3 #9F74EB #C4AAF3 #E9DFFA

Accessibility & contrast

On white

3.40
#9F74EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.17
#9F74EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F74EB
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F74EB#FFFFFF#000000##000000
##9F74EB1.003.406.176.17
#FFFFFF3.401.0021.0021.00
#0000006.1721.001.001.00
##0000006.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#498BEF
Deuteranopia (green-blind)
#548AE8
Tritanopia (blue-blind)
#8F8BA5
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #9f74eb;
/* rgb */ color: rgb(159, 116, 235);
/* oklch */ color: oklch(65.4% 0.174 298.1);
Tailwind
colors: {
  custom: {
    50: '#bf9df2',
    500: '#9f74eb',
    950: '#000000',
  },
}
SCSS
$custom: #9f74eb;
$custom-light: #bf9df2;
$custom-dark: #000000;
JSON
{
  "hex": "#9f74eb",
  "rgb": {
    "r": 159,
    "g": 116,
    "b": 235
  },
  "hsl": {
    "h": 261.681,
    "s": 74.843,
    "l": 68.824
  },
  "oklch": {
    "l": 0.6543,
    "c": 0.1738,
    "h": 298.1
  },
  "luminance": 0.2586
}

Semantic roles & 50–950 ramp

primary
#9F74EB
secondary
#E2EFCC
accent
#D70F8F
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#120E17
muted
#817E85

Preview Lab

Preview with #9F74EB

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

Preview Lab → · Contrast checker → · Palette generator →

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