#9D68DD#9D68DD

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

Color values

HEX#9D68DD
RGBrgb(157, 104, 221)
HSLhsl(267, 63%, 64%)
HSVhsv(267, 53%, 87%)
CMYKcmyk(29%, 52.9%, 0%, 13.3%)
CIE-LABlab(54.33, 44.33, -52.18)
CIE-LCHlch(54.33, 68.47, 310.35°)
OKLaboklab(62.48% 0.0939 -0.147)
OKLCHoklch(62.48% 0.174 302.6)
XYZxyz(31.9031, 22.2892, 71.0141)
Luminance0.2229 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D68DD #A8DD68
analogous
#686DDD #9D68DD #D768DD
triadic
#9D68DD #DD9D68 #68DD9D
tetradic
#9D68DD #DD686D #A8DD68 #68DDD7
square
#9D68DD #DD686D #A8DD68 #68DDD7
split-complementary
#9D68DD #DDD768 #6DDD68
monochromatic
#5F25A5 #7D36D2 #9D68DD #BD9AE8 #DECCF3

Accessibility & contrast

On white

3.85
#9D68DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.46
#9D68DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D68DD
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D68DD#FFFFFF#000000##000000
##9D68DD1.003.855.465.46
#FFFFFF3.851.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9d68dd;
/* rgb */ color: rgb(157, 104, 221);
/* oklch */ color: oklch(62.5% 0.174 302.6);
Tailwind
colors: {
  custom: {
    50: '#bd95e8',
    500: '#9d68dd',
    950: '#000000',
  },
}
SCSS
$custom: #9d68dd;
$custom-light: #bd95e8;
$custom-dark: #000000;
JSON
{
  "hex": "#9d68dd",
  "rgb": {
    "r": 157,
    "g": 104,
    "b": 221
  },
  "hsl": {
    "h": 267.179,
    "s": 63.243,
    "l": 63.725
  },
  "oklch": {
    "l": 0.62483,
    "c": 0.17448,
    "h": 302.6
  },
  "luminance": 0.22289
}

Semantic roles & 50–950 ramp

primary
#9D68DD
secondary
#D2E5BC
accent
#CB1A7B
background
#FBF9FE
surface
#F7F2FD
border
#D0CCD5
text
#120D16
muted
#817E84

Preview Lab

Preview with #9D68DD

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

Preview Lab → · Contrast checker → · Palette generator →

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