#9D68DE#9D68DE

#9D68DE is a light, vivid violet. Relative luminance 0.223; OKLCH L 62.5% C 0.176 H 302.3°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#9D68DE
RGBrgb(157, 104, 222)
HSLhsl(267, 64%, 64%)
HSVhsv(267, 53%, 87%)
CMYKcmyk(29.3%, 53.2%, 0%, 12.9%)
CIE-LABlab(54.39, 44.57, -52.65)
CIE-LCHlch(54.39, 68.99, 310.25°)
OKLaboklab(62.54% 0.094 -0.1484)
OKLCHoklch(62.54% 0.176 302.3)
XYZxyz(32.0368, 22.3426, 71.7178)
Luminance0.2234 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D68DE #A9DE68
analogous
#686EDE #9D68DE #D868DE
triadic
#9D68DE #DE9D68 #68DE9D
tetradic
#9D68DE #DE686E #A9DE68 #68DED8
square
#9D68DE #DE686E #A9DE68 #68DED8
split-complementary
#9D68DE #DED868 #6EDE68
monochromatic
#5F25A7 #7C36D3 #9D68DE #BE9AE9 #DECCF4

Accessibility & contrast

On white

3.84
#9D68DE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.47
#9D68DE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D68DE
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D68DE#FFFFFF#000000##000000
##9D68DE1.003.845.475.47
#FFFFFF3.841.0021.0021.00
#0000005.4721.001.001.00
##0000005.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D81E2
Deuteranopia (green-blind)
#4E82DB
Tritanopia (blue-blind)
#917E99
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #9d68de;
/* rgb */ color: rgb(157, 104, 222);
/* oklch */ color: oklch(62.5% 0.176 302.3);
Tailwind
colors: {
  custom: {
    50: '#bd95e9',
    500: '#9d68de',
    950: '#000000',
  },
}
SCSS
$custom: #9d68de;
$custom-light: #bd95e9;
$custom-dark: #000000;
JSON
{
  "hex": "#9d68de",
  "rgb": {
    "r": 157,
    "g": 104,
    "b": 222
  },
  "hsl": {
    "h": 266.949,
    "s": 64.13,
    "l": 63.922
  },
  "oklch": {
    "l": 0.62543,
    "c": 0.17569,
    "h": 302.3
  },
  "luminance": 0.22343
}

Semantic roles & 50–950 ramp

primary
#9D68DE
secondary
#D3E6BC
accent
#CC1A7C
background
#FBF9FE
surface
#F7F2FD
border
#D0CCD5
text
#120D16
muted
#817E84

Preview Lab

Preview with #9D68DE

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

Preview Lab → · Contrast checker → · Palette generator →

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