#9F5FEE#9F5FEE

#9F5FEE is a light, highly saturated violet. Relative luminance 0.217; OKLCH L 62.4% C 0.208 H 301.2°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#9F5FEE
RGBrgb(159, 95, 238)
HSLhsl(267, 81%, 65%)
HSVhsv(267, 60%, 93%)
CMYKcmyk(33.2%, 60.1%, 0%, 6.7%)
CIE-LABlab(53.74, 53.71, -62.67)
CIE-LCHlch(53.74, 82.54, 310.60°)
OKLaboklab(62.42% 0.1077 -0.1777)
OKLCHoklch(62.42% 0.208 301.2)
XYZxyz(33.8192, 21.7282, 83.2846)
Luminance0.2173 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F5FEE #AEEE5F
analogous
#5F66EE #9F5FEE #E65FEE
triadic
#9F5FEE #EE9F5F #5FEE9F
tetradic
#9F5FEE #EE5F66 #AEEE5F #5FEEE6
square
#9F5FEE #EE5F66 #AEEE5F #5FEEE6
split-complementary
#9F5FEE #EEE65F #66EE5F
monochromatic
#6014BE #7E28E8 #9F5FEE #C096F4 #E1CEFA

Accessibility & contrast

On white

3.93
#9F5FEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.35
#9F5FEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F5FEE
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F5FEE#FFFFFF#000000##000000
##9F5FEE1.003.935.355.35
#FFFFFF3.931.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0080F3
Deuteranopia (green-blind)
#3180EB
Tritanopia (blue-blind)
#8F7D9E
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #9f5fee;
/* rgb */ color: rgb(159, 95, 238);
/* oklch */ color: oklch(62.4% 0.208 301.2);
Tailwind
colors: {
  custom: {
    50: '#c08ff4',
    500: '#9f5fee',
    950: '#000000',
  },
}
SCSS
$custom: #9f5fee;
$custom-light: #c08ff4;
$custom-dark: #000000;
JSON
{
  "hex": "#9f5fee",
  "rgb": {
    "r": 159,
    "g": 95,
    "b": 238
  },
  "hsl": {
    "h": 266.853,
    "s": 80.791,
    "l": 65.294
  },
  "oklch": {
    "l": 0.6242,
    "c": 0.20781,
    "h": 301.2
  },
  "luminance": 0.21728
}

Semantic roles & 50–950 ramp

primary
#9F5FEE
secondary
#D7ECBC
accent
#DD087E
background
#FCF9FF
surface
#F8F1FE
border
#D1CBD6
text
#130D17
muted
#827E85

Preview Lab

Preview with #9F5FEE

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

Preview Lab → · Contrast checker → · Palette generator →

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