#9D72CA#9D72CA

#9D72CA is a light, vivid violet. Relative luminance 0.235; OKLCH L 63.1% C 0.135 H 305.4°. Best body text is #000000 at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#9D72CA
RGBrgb(157, 114, 202)
HSLhsl(269, 45%, 62%)
HSVhsv(269, 44%, 79%)
CMYKcmyk(22.3%, 43.6%, 0%, 20.8%)
CIE-LABlab(55.55, 34.21, -39.49)
CIE-LCHlch(55.55, 52.25, 310.90°)
OKLaboklab(63.07% 0.0782 -0.1101)
OKLCHoklch(63.07% 0.135 305.4)
XYZxyz(30.5804, 23.4672, 58.7843)
Luminance0.2347 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D72CA #9FCA72
analogous
#7273CA #9D72CA #C972CA
triadic
#9D72CA #CA9D72 #72CA9D
tetradic
#9D72CA #CA7273 #9FCA72 #72CAC9
square
#9D72CA #CA7273 #9FCA72 #72CAC9
split-complementary
#9D72CA #CAC972 #73CA72
monochromatic
#60358D #7E46B9 #9D72CA #BC9EDB #DBCBEB

Accessibility & contrast

On white

3.69
#9D72CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.69
#9D72CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D72CA
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D72CA#FFFFFF#000000##000000
##9D72CA1.003.695.695.69
#FFFFFF3.691.0021.0021.00
#0000005.6921.001.001.00
##0000005.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C84CD
Deuteranopia (green-blind)
#6685C8
Tritanopia (blue-blind)
#968094
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #9d72ca;
/* rgb */ color: rgb(157, 114, 202);
/* oklch */ color: oklch(63.1% 0.135 305.4);
Tailwind
colors: {
  custom: {
    50: '#bc9bda',
    500: '#9d72ca',
    950: '#000000',
  },
}
SCSS
$custom: #9d72ca;
$custom-light: #bc9bda;
$custom-dark: #000000;
JSON
{
  "hex": "#9d72ca",
  "rgb": {
    "r": 157,
    "g": 114,
    "b": 202
  },
  "hsl": {
    "h": 269.318,
    "s": 45.361,
    "l": 61.961
  },
  "oklch": {
    "l": 0.6307,
    "c": 0.13506,
    "h": 305.4
  },
  "luminance": 0.23467
}

Semantic roles & 50–950 ramp

primary
#9D72CA
secondary
#CCDCBC
accent
#B92D74
background
#FBF9FD
surface
#F6F2FB
border
#D0CCD4
text
#120E15
muted
#817E83

Preview Lab

Preview with #9D72CA

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

Preview Lab → · Contrast checker → · Palette generator →

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