#9651CD#9651CD

#9651CD is a mid, vivid violet. Relative luminance 0.168; OKLCH L 57.3% C 0.189 H 307.1°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#9651CD
RGBrgb(150, 81, 205)
HSLhsl(273, 55%, 56%)
HSVhsv(273, 60%, 80%)
CMYKcmyk(26.8%, 60.5%, 0%, 19.6%)
CIE-LABlab(47.98, 51.03, -53.28)
CIE-LCHlch(47.98, 73.78, 313.76°)
OKLaboklab(57.34% 0.1137 -0.1504)
OKLCHoklch(57.34% 0.189 307.1)
XYZxyz(26.5373, 16.7770, 59.5860)
Luminance0.1678 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9651CD #88CD51
analogous
#5851CD #9651CD #CD51C6
triadic
#9651CD #CD9651 #51CD96
tetradic
#9651CD #CD5851 #88CD51 #51C6CD
square
#9651CD #CD5851 #88CD51 #51C6CD
split-complementary
#9651CD #C6CD51 #51CD58
monochromatic
#57257F #7732AF #9651CD #B381DB #CFB0E8

Accessibility & contrast

On white

4.82
#9651CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#9651CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9651CD
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9651CD#FFFFFF#000000##FFFFFF
##9651CD1.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#166FD1
Deuteranopia (green-blind)
#3B72CA
Tritanopia (blue-blind)
#8D6A87
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #9651cd;
/* rgb */ color: rgb(150, 81, 205);
/* oklch */ color: oklch(57.3% 0.189 307.1);
Tailwind
colors: {
  custom: {
    50: '#b885dd',
    500: '#9651cd',
    950: '#000000',
  },
}
SCSS
$custom: #9651cd;
$custom-light: #b885dd;
$custom-dark: #000000;
JSON
{
  "hex": "#9651cd",
  "rgb": {
    "r": 150,
    "g": 81,
    "b": 205
  },
  "hsl": {
    "h": 273.387,
    "s": 55.357,
    "l": 56.078
  },
  "oklch": {
    "l": 0.57343,
    "c": 0.18856,
    "h": 307.1
  },
  "luminance": 0.16777
}

Semantic roles & 50–950 ramp

primary
#9651CD
secondary
#BAD7A3
accent
#DF498B
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #9651CD

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

Preview Lab → · Contrast checker → · Palette generator →

#9651CD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva