#9F5EF3#9F5EF3

#9F5EF3 is a light, highly saturated violet. Relative luminance 0.218; OKLCH L 62.6% C 0.215 H 300.4°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#9F5EF3
RGBrgb(159, 94, 243)
HSLhsl(266, 86%, 66%)
HSVhsv(266, 61%, 95%)
CMYKcmyk(34.6%, 61.3%, 0%, 4.7%)
CIE-LABlab(53.86, 55.44, -65.26)
CIE-LCHlch(53.86, 85.63, 310.35°)
OKLaboklab(62.61% 0.1086 -0.1853)
OKLCHoklch(62.61% 0.215 300.4)
XYZxyz(34.4745, 21.8472, 87.1773)
Luminance0.2185 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F5EF3 #B2F35E
analogous
#5E67F3 #9F5EF3 #E95EF3
triadic
#9F5EF3 #F39F5E #5EF39F
tetradic
#9F5EF3 #F35E67 #B2F35E #5EF3E9
square
#9F5EF3 #F35E67 #B2F35E #5EF3E9
split-complementary
#9F5EF3 #F3E95E #67F35E
monochromatic
#600FC8 #7D25EF #9F5EF3 #C197F7 #E3D0FB

Accessibility & contrast

On white

3.91
#9F5EF3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.37
#9F5EF3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F5EF3
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F5EF3#FFFFFF#000000##000000
##9F5EF31.003.915.375.37
#FFFFFF3.911.0021.0021.00
#0000005.3721.001.001.00
##0000005.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0080F8
Deuteranopia (green-blind)
#2680F0
Tritanopia (blue-blind)
#8D7EA0
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #9f5ef3;
/* rgb */ color: rgb(159, 94, 243);
/* oklch */ color: oklch(62.6% 0.215 300.4);
Tailwind
colors: {
  custom: {
    50: '#c08ff8',
    500: '#9f5ef3',
    950: '#000000',
  },
}
SCSS
$custom: #9f5ef3;
$custom-light: #c08ff8;
$custom-dark: #000000;
JSON
{
  "hex": "#9f5ef3",
  "rgb": {
    "r": 159,
    "g": 94,
    "b": 243
  },
  "hsl": {
    "h": 266.174,
    "s": 86.127,
    "l": 66.078
  },
  "oklch": {
    "l": 0.62614,
    "c": 0.21481,
    "h": 300.4
  },
  "luminance": 0.21847
}

Semantic roles & 50–950 ramp

primary
#9F5EF3
secondary
#DAEFBE
accent
#E30381
background
#FCF8FF
surface
#F8F0FF
border
#D1CBD7
text
#130D17
muted
#827D85

Preview Lab

Preview with #9F5EF3

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

Preview Lab → · Contrast checker → · Palette generator →

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