#9F5EF0#9F5EF0

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

Color values

HEX#9F5EF0
RGBrgb(159, 94, 240)
HSLhsl(267, 83%, 65%)
HSVhsv(267, 61%, 94%)
CMYKcmyk(33.8%, 60.8%, 0%, 5.9%)
CIE-LABlab(53.67, 54.71, -63.89)
CIE-LCHlch(53.67, 84.12, 310.57°)
OKLaboklab(62.41% 0.1087 -0.1813)
OKLCHoklch(62.41% 0.211 300.9)
XYZxyz(34.0252, 21.6674, 84.8108)
Luminance0.2167 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F5EF0 #AFF05E
analogous
#5E66F0 #9F5EF0 #E85EF0
triadic
#9F5EF0 #F09F5E #5EF09F
tetradic
#9F5EF0 #F05E66 #AFF05E #5EF0E8
square
#9F5EF0 #F05E66 #AFF05E #5EF0E8
split-complementary
#9F5EF0 #F0E85E #66F05E
monochromatic
#6012C2 #7E26EB #9F5EF0 #C096F5 #E2CEFA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9F5EF0#FFFFFF#000000##000000
##9F5EF01.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)
#0080F5
Deuteranopia (green-blind)
#2C7FED
Tritanopia (blue-blind)
#8E7D9E
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #9f5ef0;
/* rgb */ color: rgb(159, 94, 240);
/* oklch */ color: oklch(62.4% 0.211 300.9);
Tailwind
colors: {
  custom: {
    50: '#c08ff6',
    500: '#9f5ef0',
    950: '#000000',
  },
}
SCSS
$custom: #9f5ef0;
$custom-light: #c08ff6;
$custom-dark: #000000;
JSON
{
  "hex": "#9f5ef0",
  "rgb": {
    "r": 159,
    "g": 94,
    "b": 240
  },
  "hsl": {
    "h": 266.712,
    "s": 82.955,
    "l": 65.49
  },
  "oklch": {
    "l": 0.62413,
    "c": 0.21144,
    "h": 300.9
  },
  "luminance": 0.21668
}

Semantic roles & 50–950 ramp

primary
#9F5EF0
secondary
#D8EDBC
accent
#DF067F
background
#FCF8FF
surface
#F8F0FF
border
#D1CBD7
text
#130D17
muted
#827D85

Preview Lab

Preview with #9F5EF0

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

Preview Lab → · Contrast checker → · Palette generator →

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