#9F74FB#9F74FB

#9F74FB is a light, vivid violet. Relative luminance 0.268; OKLCH L 66.4% C 0.194 H 295.3°. Best body text is #000000 at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#9F74FB
RGBrgb(159, 116, 251)
HSLhsl(259, 94%, 72%)
HSVhsv(259, 54%, 98%)
CMYKcmyk(36.7%, 53.8%, 0%, 1.6%)
CIE-LABlab(58.81, 45.72, -61.74)
CIE-LCHlch(58.81, 76.82, 306.52°)
OKLaboklab(66.4% 0.0828 -0.175)
OKLCHoklch(66.4% 0.194 295.3)
XYZxyz(37.9516, 26.8260, 94.4265)
Luminance0.2683 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F74FB #D0FB74
analogous
#748DFB #9F74FB #E374FB
triadic
#9F74FB #FB9F74 #74FB9F
tetradic
#9F74FB #FB748D #D0FB74 #74FBE3
square
#9F74FB #FB748D #D0FB74 #74FBE3
split-complementary
#9F74FB #FBE374 #8DFB74
monochromatic
#5007EE #7639F9 #9F74FB #C8AFFD #EAE1FE

Accessibility & contrast

On white

3.30
#9F74FB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.37
#9F74FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F74FB
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F74FB#FFFFFF#000000##000000
##9F74FB1.003.306.376.37
#FFFFFF3.301.0021.0021.00
#0000006.3721.001.001.00
##0000006.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#388FFF
Deuteranopia (green-blind)
#448CF8
Tritanopia (blue-blind)
#8990AD
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #9f74fb;
/* rgb */ color: rgb(159, 116, 251);
/* oklch */ color: oklch(66.4% 0.194 295.3);
Tailwind
colors: {
  custom: {
    50: '#c09dfd',
    500: '#9f74fb',
    950: '#000000',
  },
}
SCSS
$custom: #9f74fb;
$custom-light: #c09dfd;
$custom-dark: #000000;
JSON
{
  "hex": "#9f74fb",
  "rgb": {
    "r": 159,
    "g": 116,
    "b": 251
  },
  "hsl": {
    "h": 259.111,
    "s": 94.406,
    "l": 71.961
  },
  "oklch": {
    "l": 0.66397,
    "c": 0.19362,
    "h": 295.3
  },
  "luminance": 0.26827
}

Semantic roles & 50–950 ramp

primary
#9F74FB
secondary
#ECF6D4
accent
#E6009C
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E18
muted
#827E86

Preview Lab

Preview with #9F74FB

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

Preview Lab → · Contrast checker → · Palette generator →

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