#9F5FED#9F5FED

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

Color values

HEX#9F5FED
RGBrgb(159, 95, 237)
HSLhsl(267, 80%, 65%)
HSVhsv(267, 60%, 93%)
CMYKcmyk(32.9%, 59.9%, 0%, 7.1%)
CIE-LABlab(53.67, 53.47, -62.21)
CIE-LCHlch(53.67, 82.03, 310.68°)
OKLaboklab(62.35% 0.1077 -0.1764)
OKLCHoklch(62.35% 0.207 301.4)
XYZxyz(33.6727, 21.6696, 82.5130)
Luminance0.2167 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F5FED #ADED5F
analogous
#5F66ED #9F5FED #E65FED
triadic
#9F5FED #ED9F5F #5FED9F
tetradic
#9F5FED #ED5F66 #ADED5F #5FEDE6
square
#9F5FED #ED5F66 #ADED5F #5FEDE6
split-complementary
#9F5FED #EDE65F #66ED5F
monochromatic
#6115BC #7E28E7 #9F5FED #C096F3 #E1CDF9

Accessibility & contrast

On white

3.94
#9F5FED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.33
#9F5FED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F5FED
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F5FED#FFFFFF#000000##000000
##9F5FED1.003.945.335.33
#FFFFFF3.941.0021.0021.00
#0000005.3321.001.001.00
##0000005.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FF2
Deuteranopia (green-blind)
#3380EA
Tritanopia (blue-blind)
#8F7D9D
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #9f5fed;
/* rgb */ color: rgb(159, 95, 237);
/* oklch */ color: oklch(62.4% 0.207 301.4);
Tailwind
colors: {
  custom: {
    50: '#c08ff4',
    500: '#9f5fed',
    950: '#000000',
  },
}
SCSS
$custom: #9f5fed;
$custom-light: #c08ff4;
$custom-dark: #000000;
JSON
{
  "hex": "#9f5fed",
  "rgb": {
    "r": 159,
    "g": 95,
    "b": 237
  },
  "hsl": {
    "h": 267.042,
    "s": 79.775,
    "l": 65.098
  },
  "oklch": {
    "l": 0.62354,
    "c": 0.20668,
    "h": 301.4
  },
  "luminance": 0.2167
}

Semantic roles & 50–950 ramp

primary
#9F5FED
secondary
#D6ECBC
accent
#DC097D
background
#FCF9FF
surface
#F8F1FE
border
#D1CBD6
text
#130D17
muted
#827E85

Preview Lab

Preview with #9F5FED

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

Preview Lab → · Contrast checker → · Palette generator →

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