#9F5DF0#9F5DF0

#9F5DF0 is a light, highly saturated violet. Relative luminance 0.215; OKLCH L 62.3% C 0.213 H 301.1°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#9F5DF0
RGBrgb(159, 93, 240)
HSLhsl(267, 83%, 65%)
HSVhsv(267, 61%, 94%)
CMYKcmyk(33.8%, 61.2%, 0%, 5.9%)
CIE-LABlab(53.48, 55.22, -64.20)
CIE-LCHlch(53.48, 84.68, 310.70°)
OKLaboklab(62.28% 0.1099 -0.1822)
OKLCHoklch(62.28% 0.213 301.1)
XYZxyz(33.9369, 21.4907, 84.7814)
Luminance0.2149 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F5DF0 #AEF05D
analogous
#5D64F0 #9F5DF0 #E95DF0
triadic
#9F5DF0 #F09F5D #5DF09F
tetradic
#9F5DF0 #F05D64 #AEF05D #5DF0E9
square
#9F5DF0 #F05D64 #AEF05D #5DF0E9
split-complementary
#9F5DF0 #F0E95D #64F05D
monochromatic
#6012C1 #7E25EB #9F5DF0 #C095F5 #E1CDFA

Accessibility & contrast

On white

3.96
#9F5DF0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.30
#9F5DF0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F5DF0
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F5DF0#FFFFFF#000000##000000
##9F5DF01.003.965.305.30
#FFFFFF3.961.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FF5
Deuteranopia (green-blind)
#2A7FED
Tritanopia (blue-blind)
#8E7D9E
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #9f5df0;
/* rgb */ color: rgb(159, 93, 240);
/* oklch */ color: oklch(62.3% 0.213 301.1);
Tailwind
colors: {
  custom: {
    50: '#c08ef6',
    500: '#9f5df0',
    950: '#000000',
  },
}
SCSS
$custom: #9f5df0;
$custom-light: #c08ef6;
$custom-dark: #000000;
JSON
{
  "hex": "#9f5df0",
  "rgb": {
    "r": 159,
    "g": 93,
    "b": 240
  },
  "hsl": {
    "h": 266.939,
    "s": 83.051,
    "l": 65.294
  },
  "oklch": {
    "l": 0.62275,
    "c": 0.2128,
    "h": 301.1
  },
  "luminance": 0.21491
}

Semantic roles & 50–950 ramp

primary
#9F5DF0
secondary
#D7EDBC
accent
#DF067E
background
#FCF8FF
surface
#F8F0FF
border
#D1CBD7
text
#130C17
muted
#827D85

Preview Lab

Preview with #9F5DF0

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

Preview Lab → · Contrast checker → · Palette generator →

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