#9F6ED4#9F6ED4

#9F6ED4 is a light, vivid violet. Relative luminance 0.233; OKLCH L 63.1% C 0.155 H 304.5°. Best body text is #000000 at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#9F6ED4
RGBrgb(159, 110, 212)
HSLhsl(269, 54%, 63%)
HSVhsv(269, 48%, 83%)
CMYKcmyk(25%, 48.1%, 0%, 16.9%)
CIE-LABlab(55.36, 39.38, -45.46)
CIE-LCHlch(55.36, 60.14, 310.90°)
OKLaboklab(63.13% 0.0876 -0.1274)
OKLCHoklch(63.13% 0.155 304.5)
XYZxyz(31.7551, 23.2764, 65.0945)
Luminance0.2328 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F6ED4 #A3D46E
analogous
#6E70D4 #9F6ED4 #D26ED4
triadic
#9F6ED4 #D49F6E #6ED49F
tetradic
#9F6ED4 #D46E70 #A3D46E #6ED4D2
square
#9F6ED4 #D46E70 #A3D46E #6ED4D2
split-complementary
#9F6ED4 #D4D26E #70D46E
monochromatic
#622E9A #803FC6 #9F6ED4 #BE9DE2 #DECCF0

Accessibility & contrast

On white

3.71
#9F6ED4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.66
#9F6ED4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F6ED4
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F6ED4#FFFFFF#000000##000000
##9F6ED41.003.715.665.66
#FFFFFF3.711.0021.0021.00
#0000005.6621.001.001.00
##0000005.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5183D8
Deuteranopia (green-blind)
#5E85D1
Tritanopia (blue-blind)
#968097
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #9f6ed4;
/* rgb */ color: rgb(159, 110, 212);
/* oklch */ color: oklch(63.1% 0.155 304.5);
Tailwind
colors: {
  custom: {
    50: '#be99e2',
    500: '#9f6ed4',
    950: '#000000',
  },
}
SCSS
$custom: #9f6ed4;
$custom-light: #be99e2;
$custom-dark: #000000;
JSON
{
  "hex": "#9f6ed4",
  "rgb": {
    "r": 159,
    "g": 110,
    "b": 212
  },
  "hsl": {
    "h": 268.824,
    "s": 54.255,
    "l": 63.137
  },
  "oklch": {
    "l": 0.63134,
    "c": 0.15461,
    "h": 304.5
  },
  "luminance": 0.23276
}

Semantic roles & 50–950 ramp

primary
#9F6ED4
secondary
#D0E1BD
accent
#C22476
background
#FBF9FD
surface
#F7F2FB
border
#D0CCD4
text
#120E15
muted
#817E83

Preview Lab

Preview with #9F6ED4

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

Preview Lab → · Contrast checker → · Palette generator →

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