#9651D2#9651D2

#9651D2 is a mid, vivid violet. Relative luminance 0.170; OKLCH L 57.7% C 0.194 H 305.8°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#9651D2
RGBrgb(150, 81, 210)
HSLhsl(272, 59%, 57%)
HSVhsv(272, 61%, 82%)
CMYKcmyk(28.6%, 61.4%, 0%, 17.6%)
CIE-LABlab(48.29, 52.19, -55.65)
CIE-LCHlch(48.29, 76.30, 313.16°)
OKLaboklab(57.67% 0.1136 -0.1574)
OKLCHoklch(57.67% 0.194 305.8)
XYZxyz(27.1505, 17.0223, 62.8156)
Luminance0.1702 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9651D2 #8DD251
analogous
#5651D2 #9651D2 #D251CE
triadic
#9651D2 #D29651 #51D296
tetradic
#9651D2 #D25651 #8DD251 #51CED2
square
#9651D2 #D25651 #8DD251 #51CED2
split-complementary
#9651D2 #CED251 #51D256
monochromatic
#582386 #782FB7 #9651D2 #B382DF #D1B2EB

Accessibility & contrast

On white

4.77
#9651D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#9651D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9651D2
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9651D2#FFFFFF#000000##FFFFFF
##9651D21.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0370D6
Deuteranopia (green-blind)
#3573CF
Tritanopia (blue-blind)
#8C6B8A
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #9651d2;
/* rgb */ color: rgb(150, 81, 210);
/* oklch */ color: oklch(57.7% 0.194 305.8);
Tailwind
colors: {
  custom: {
    50: '#b985e0',
    500: '#9651d2',
    950: '#000000',
  },
}
SCSS
$custom: #9651d2;
$custom-light: #b985e0;
$custom-dark: #000000;
JSON
{
  "hex": "#9651d2",
  "rgb": {
    "r": 150,
    "g": 81,
    "b": 210
  },
  "hsl": {
    "h": 272.093,
    "s": 58.904,
    "l": 57.059
  },
  "oklch": {
    "l": 0.57668,
    "c": 0.19407,
    "h": 305.8
  },
  "luminance": 0.17022
}

Semantic roles & 50–950 ramp

primary
#9651D2
secondary
#BEDAA5
accent
#E2468E
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #9651D2

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

Preview Lab → · Contrast checker → · Palette generator →

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