#9F6CED#9F6CED

#9F6CED is a light, vivid violet. Relative luminance 0.242; OKLCH L 64.3% C 0.188 H 299.3°. Best body text is #000000 at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#9F6CED
RGBrgb(159, 108, 237)
HSLhsl(264, 78%, 68%)
HSVhsv(264, 54%, 93%)
CMYKcmyk(32.9%, 54.4%, 0%, 7.1%)
CIE-LABlab(56.30, 46.56, -58.00)
CIE-LCHlch(56.30, 74.38, 308.76°)
OKLaboklab(64.28% 0.0921 -0.1641)
OKLCHoklch(64.28% 0.188 299.3)
XYZxyz(34.9430, 24.2102, 82.9364)
Luminance0.2421 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F6CED #BAED6C
analogous
#6C79ED #9F6CED #E06CED
triadic
#9F6CED #ED9F6C #6CED9F
tetradic
#9F6CED #ED6C79 #BAED6C #6CEDE0
square
#9F6CED #ED6C79 #BAED6C #6CEDE0
split-complementary
#9F6CED #EDE06C #79ED6C
monochromatic
#5D18C6 #7B35E6 #9F6CED #C3A3F4 #E6D9FA

Accessibility & contrast

On white

3.59
#9F6CED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.84
#9F6CED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F6CED
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F6CED#FFFFFF#000000##000000
##9F6CED1.003.595.845.84
#FFFFFF3.591.0021.0021.00
#0000005.8421.001.001.00
##0000005.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3687F1
Deuteranopia (green-blind)
#4786EA
Tritanopia (blue-blind)
#8E86A2
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #9f6ced;
/* rgb */ color: rgb(159, 108, 237);
/* oklch */ color: oklch(64.3% 0.188 299.3);
Tailwind
colors: {
  custom: {
    50: '#bf98f3',
    500: '#9f6ced',
    950: '#000000',
  },
}
SCSS
$custom: #9f6ced;
$custom-light: #bf98f3;
$custom-dark: #000000;
JSON
{
  "hex": "#9f6ced",
  "rgb": {
    "r": 159,
    "g": 108,
    "b": 237
  },
  "hsl": {
    "h": 263.721,
    "s": 78.182,
    "l": 67.647
  },
  "oklch": {
    "l": 0.64277,
    "c": 0.18813,
    "h": 299.3
  },
  "luminance": 0.2421
}

Semantic roles & 50–950 ramp

primary
#9F6CED
secondary
#DFEEC6
accent
#DA0B88
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E17
muted
#827E85

Preview Lab

Preview with #9F6CED

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

Preview Lab → · Contrast checker → · Palette generator →

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