#9F5CF0#9F5CF0

#9F5CF0 is a light, highly saturated violet. Relative luminance 0.213; OKLCH L 62.1% C 0.214 H 301.2°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#9F5CF0
RGBrgb(159, 92, 240)
HSLhsl(267, 83%, 65%)
HSVhsv(267, 62%, 94%)
CMYKcmyk(33.8%, 61.7%, 0%, 5.9%)
CIE-LABlab(53.29, 55.73, -64.50)
CIE-LCHlch(53.29, 85.24, 310.83°)
OKLaboklab(62.14% 0.111 -0.1831)
OKLCHoklch(62.14% 0.214 301.2)
XYZxyz(33.8497, 21.3163, 84.7523)
Luminance0.2132 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F5CF0 #ADF05C
analogous
#5C63F0 #9F5CF0 #E95CF0
triadic
#9F5CF0 #F09F5C #5CF09F
tetradic
#9F5CF0 #F05C63 #ADF05C #5CF0E9
square
#9F5CF0 #F05C63 #ADF05C #5CF0E9
split-complementary
#9F5CF0 #F0E95C #63F05C
monochromatic
#6112C0 #7E24EB #9F5CF0 #C094F5 #E1CCFA

Accessibility & contrast

On white

3.99
#9F5CF0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.26
#9F5CF0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F5CF0
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F5CF0#FFFFFF#000000##000000
##9F5CF01.003.995.265.26
#FFFFFF3.991.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EF5
Deuteranopia (green-blind)
#287EED
Tritanopia (blue-blind)
#8E7C9E
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #9f5cf0;
/* rgb */ color: rgb(159, 92, 240);
/* oklch */ color: oklch(62.1% 0.214 301.2);
Tailwind
colors: {
  custom: {
    50: '#c08df6',
    500: '#9f5cf0',
    950: '#000000',
  },
}
SCSS
$custom: #9f5cf0;
$custom-light: #c08df6;
$custom-dark: #000000;
JSON
{
  "hex": "#9f5cf0",
  "rgb": {
    "r": 159,
    "g": 92,
    "b": 240
  },
  "hsl": {
    "h": 267.162,
    "s": 83.146,
    "l": 65.098
  },
  "oklch": {
    "l": 0.62138,
    "c": 0.21414,
    "h": 301.2
  },
  "luminance": 0.21316
}

Semantic roles & 50–950 ramp

primary
#9F5CF0
secondary
#D6EDBB
accent
#E0067D
background
#FCF8FF
surface
#F8F0FF
border
#D1CBD7
text
#130C17
muted
#827D85

Preview Lab

Preview with #9F5CF0

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

Preview Lab → · Contrast checker → · Palette generator →

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