#9F74FC#9F74FC

#9F74FC is a light, vivid violet. Relative luminance 0.269; OKLCH L 66.5% C 0.195 H 295.2°. Best body text is #000000 at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#9F74FC
RGBrgb(159, 116, 252)
HSLhsl(259, 96%, 72%)
HSVhsv(259, 54%, 99%)
CMYKcmyk(36.9%, 54%, 0%, 1.2%)
CIE-LABlab(58.87, 45.97, -62.19)
CIE-LCHlch(58.87, 77.34, 306.47°)
OKLaboklab(66.46% 0.0828 -0.1764)
OKLCHoklch(66.46% 0.195 295.2)
XYZxyz(38.1096, 26.8892, 95.2589)
Luminance0.2689 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F74FC #D1FC74
analogous
#748DFC #9F74FC #E374FC
triadic
#9F74FC #FC9F74 #74FC9F
tetradic
#9F74FC #FC748D #D1FC74 #74FCE3
square
#9F74FC #FC748D #D1FC74 #74FCE3
split-complementary
#9F74FC #FCE374 #8DFC74
monochromatic
#5005F0 #7638FB #9F74FC #C8B0FD #EAE1FE

Accessibility & contrast

On white

3.29
#9F74FC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.38
#9F74FC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F74FC
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F74FC#FFFFFF#000000##000000
##9F74FC1.003.296.386.38
#FFFFFF3.291.0021.0021.00
#0000006.3821.001.001.00
##0000006.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#368FFF
Deuteranopia (green-blind)
#438CF9
Tritanopia (blue-blind)
#8890AD
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #9f74fc;
/* rgb */ color: rgb(159, 116, 252);
/* oklch */ color: oklch(66.5% 0.195 295.2);
Tailwind
colors: {
  custom: {
    50: '#c09dfe',
    500: '#9f74fc',
    950: '#000000',
  },
}
SCSS
$custom: #9f74fc;
$custom-light: #c09dfe;
$custom-dark: #000000;
JSON
{
  "hex": "#9f74fc",
  "rgb": {
    "r": 159,
    "g": 116,
    "b": 252
  },
  "hsl": {
    "h": 258.971,
    "s": 95.775,
    "l": 72.157
  },
  "oklch": {
    "l": 0.6646,
    "c": 0.19485,
    "h": 295.2
  },
  "luminance": 0.2689
}

Semantic roles & 50–950 ramp

primary
#9F74FC
secondary
#ECF7D4
accent
#E6009D
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E18
muted
#827E86

Preview Lab

Preview with #9F74FC

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

Preview Lab → · Contrast checker → · Palette generator →

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