#9D68CA#9D68CA

#9D68CA is a mid, vivid violet. Relative luminance 0.213; OKLCH L 61.4% C 0.152 H 307.5°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#9D68CA
RGBrgb(157, 104, 202)
HSLhsl(272, 48%, 60%)
HSVhsv(272, 49%, 79%)
CMYKcmyk(22.3%, 48.5%, 0%, 20.8%)
CIE-LABlab(53.31, 39.82, -43.02)
CIE-LCHlch(53.31, 58.62, 312.79°)
OKLaboklab(61.4% 0.0923 -0.1203)
OKLCHoklch(61.4% 0.152 307.5)
XYZxyz(29.5135, 21.3333, 58.4286)
Luminance0.2133 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D68CA #95CA68
analogous
#6C68CA #9D68CA #CA68C6
triadic
#9D68CA #CA9D68 #68CA9D
tetradic
#9D68CA #CA6C68 #95CA68 #68C6CA
square
#9D68CA #CA6C68 #95CA68 #68C6CA
split-complementary
#9D68CA #C6CA68 #68CA6C
monochromatic
#5F3088 #7F40B5 #9D68CA #BA95DA #D8C3EA

Accessibility & contrast

On white

3.99
#9D68CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#9D68CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D68CA
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D68CA#FFFFFF#000000##000000
##9D68CA1.003.995.275.27
#FFFFFF3.991.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E7DCD
Deuteranopia (green-blind)
#5D80C7
Tritanopia (blue-blind)
#967990
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #9d68ca;
/* rgb */ color: rgb(157, 104, 202);
/* oklch */ color: oklch(61.4% 0.152 307.5);
Tailwind
colors: {
  custom: {
    50: '#bc94da',
    500: '#9d68ca',
    950: '#000000',
  },
}
SCSS
$custom: #9d68ca;
$custom-light: #bc94da;
$custom-dark: #000000;
JSON
{
  "hex": "#9d68ca",
  "rgb": {
    "r": 157,
    "g": 104,
    "b": 202
  },
  "hsl": {
    "h": 272.449,
    "s": 48.039,
    "l": 60
  },
  "oklch": {
    "l": 0.61395,
    "c": 0.15161,
    "h": 307.5
  },
  "luminance": 0.21333
}

Semantic roles & 50–950 ramp

primary
#9D68CA
secondary
#C5DAB4
accent
#D8508E
background
#FBF9FD
surface
#F7F2FB
border
#D0CCD4
text
#120D15
muted
#817E83

Preview Lab

Preview with #9D68CA

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

Preview Lab → · Contrast checker → · Palette generator →

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