#9D6DEF#9D6DEF

#9D6DEF is a light, vivid violet. Relative luminance 0.243; OKLCH L 64.4% C 0.189 H 297.9°. Best body text is #000000 at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#9D6DEF
RGBrgb(157, 109, 239)
HSLhsl(262, 80%, 68%)
HSVhsv(262, 54%, 94%)
CMYKcmyk(34.3%, 54.4%, 0%, 6.3%)
CIE-LABlab(56.42, 46.04, -58.93)
CIE-LCHlch(56.42, 74.78, 308.00°)
OKLaboklab(64.36% 0.0884 -0.1668)
OKLCHoklch(64.36% 0.189 297.9)
XYZxyz(34.9494, 24.3369, 84.5008)
Luminance0.2434 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D6DEF #BFEF6D
analogous
#6D7EEF #9D6DEF #DE6DEF
triadic
#9D6DEF #EF9D6D #6DEF9D
tetradic
#9D6DEF #EF6D7E #BFEF6D #6DEFDE
square
#9D6DEF #EF6D7E #BFEF6D #6DEFDE
split-complementary
#9D6DEF #EFDE6D #7EEF6D
monochromatic
#5916CB #7836E9 #9D6DEF #C2A4F5 #E7DBFB

Accessibility & contrast

On white

3.58
#9D6DEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.87
#9D6DEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D6DEF
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D6DEF#FFFFFF#000000##000000
##9D6DEF1.003.585.875.87
#FFFFFF3.581.0021.0021.00
#0000005.8721.001.001.00
##0000005.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3588F3
Deuteranopia (green-blind)
#4586EC
Tritanopia (blue-blind)
#8B87A4
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #9d6def;
/* rgb */ color: rgb(157, 109, 239);
/* oklch */ color: oklch(64.4% 0.189 297.9);
Tailwind
colors: {
  custom: {
    50: '#be98f5',
    500: '#9d6def',
    950: '#000000',
  },
}
SCSS
$custom: #9d6def;
$custom-light: #be98f5;
$custom-dark: #000000;
JSON
{
  "hex": "#9d6def",
  "rgb": {
    "r": 157,
    "g": 109,
    "b": 239
  },
  "hsl": {
    "h": 262.154,
    "s": 80.247,
    "l": 68.235
  },
  "oklch": {
    "l": 0.64361,
    "c": 0.18881,
    "h": 297.9
  },
  "luminance": 0.24337
}

Semantic roles & 50–950 ramp

primary
#9D6DEF
secondary
#E1F0C8
accent
#DD098E
background
#FCF9FF
surface
#F8F2FE
border
#D1CCD6
text
#120E17
muted
#817E85

Preview Lab

Preview with #9D6DEF

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

Preview Lab → · Contrast checker → · Palette generator →

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