#9F6EDD#9F6EDD

#9F6EDD is a light, vivid violet. Relative luminance 0.237; OKLCH L 63.6% C 0.166 H 302.3°. Best body text is #000000 at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#9F6EDD
RGBrgb(159, 110, 221)
HSLhsl(266, 62%, 65%)
HSVhsv(266, 50%, 87%)
CMYKcmyk(28.1%, 50.2%, 0%, 13.3%)
CIE-LABlab(55.83, 41.53, -49.78)
CIE-LCHlch(55.83, 64.83, 309.84°)
OKLaboklab(63.64% 0.0886 -0.14)
OKLCHoklch(63.64% 0.166 302.3)
XYZxyz(32.9222, 23.7432, 71.2411)
Luminance0.2374 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F6EDD #ACDD6E
analogous
#6E75DD #9F6EDD #D66EDD
triadic
#9F6EDD #DD9F6E #6EDD9F
tetradic
#9F6EDD #DD6E75 #ACDD6E #6EDDD6
square
#9F6EDD #DD6E75 #ACDD6E #6EDDD6
split-complementary
#9F6EDD #DDD66E #75DD6E
monochromatic
#6128A9 #7E3CD1 #9F6EDD #C0A0E9 #E1D1F4

Accessibility & contrast

On white

3.65
#9F6EDD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.75
#9F6EDD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F6EDD
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F6EDD#FFFFFF#000000##000000
##9F6EDD1.003.655.755.75
#FFFFFF3.651.0021.0021.00
#0000005.7521.001.001.00
##0000005.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A85E1
Deuteranopia (green-blind)
#5885DA
Tritanopia (blue-blind)
#94829B
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #9f6edd;
/* rgb */ color: rgb(159, 110, 221);
/* oklch */ color: oklch(63.6% 0.166 302.3);
Tailwind
colors: {
  custom: {
    50: '#be99e8',
    500: '#9f6edd',
    950: '#000000',
  },
}
SCSS
$custom: #9f6edd;
$custom-light: #be99e8;
$custom-dark: #000000;
JSON
{
  "hex": "#9f6edd",
  "rgb": {
    "r": 159,
    "g": 110,
    "b": 221
  },
  "hsl": {
    "h": 266.486,
    "s": 62.011,
    "l": 64.902
  },
  "oklch": {
    "l": 0.63641,
    "c": 0.16566,
    "h": 302.3
  },
  "luminance": 0.23743
}

Semantic roles & 50–950 ramp

primary
#9F6EDD
secondary
#D6E6C0
accent
#CA1C7D
background
#FBF9FE
surface
#F7F2FD
border
#D0CCD5
text
#120E16
muted
#817E84

Preview Lab

Preview with #9F6EDD

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

Preview Lab → · Contrast checker → · Palette generator →

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