#9651DD#9651DD

#9651DD is a mid, highly saturated violet. Relative luminance 0.176; OKLCH L 58.4% C 0.206 H 303.2°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#9651DD
RGBrgb(150, 81, 221)
HSLhsl(270, 67%, 59%)
HSVhsv(270, 63%, 87%)
CMYKcmyk(32.1%, 63.3%, 0%, 13.3%)
CIE-LABlab(48.99, 54.78, -60.79)
CIE-LCHlch(48.99, 81.83, 312.02°)
OKLaboklab(58.4% 0.113 -0.1725)
OKLCHoklch(58.4% 0.206 303.2)
XYZxyz(28.5683, 17.5894, 70.2826)
Luminance0.1759 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9651DD #98DD51
analogous
#5152DD #9651DD #DC51DD
triadic
#9651DD #DD9651 #51DD96
tetradic
#9651DD #DD5152 #98DD51 #51DDDC
square
#9651DD #DD5152 #98DD51 #51DDDC
split-complementary
#9651DD #DDDC51 #52DD51
monochromatic
#591D96 #7727C9 #9651DD #B584E7 #D4B7F1

Accessibility & contrast

On white

4.65
#9651DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#9651DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #9651DD
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9651DD#FFFFFF#000000##FFFFFF
##9651DD1.004.654.524.65
#FFFFFF4.651.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073E1
Deuteranopia (green-blind)
#2474DA
Tritanopia (blue-blind)
#886F90
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #9651dd;
/* rgb */ color: rgb(150, 81, 221);
/* oklch */ color: oklch(58.4% 0.206 303.2);
Tailwind
colors: {
  custom: {
    50: '#b986e8',
    500: '#9651dd',
    950: '#000000',
  },
}
SCSS
$custom: #9651dd;
$custom-light: #b986e8;
$custom-dark: #000000;
JSON
{
  "hex": "#9651dd",
  "rgb": {
    "r": 150,
    "g": 81,
    "b": 221
  },
  "hsl": {
    "h": 269.571,
    "s": 67.308,
    "l": 59.216
  },
  "oklch": {
    "l": 0.58405,
    "c": 0.20616,
    "h": 303.2
  },
  "luminance": 0.17589
}

Semantic roles & 50–950 ramp

primary
#9651DD
secondary
#C5E0AA
accent
#EA3E95
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #9651DD

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

Preview Lab → · Contrast checker → · Palette generator →

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