#9651D8#9651D8

#9651D8 is a mid, highly saturated violet. Relative luminance 0.173; OKLCH L 58.1% C 0.201 H 304.4°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#9651D8
RGBrgb(150, 81, 216)
HSLhsl(271, 63%, 58%)
HSVhsv(271, 63%, 85%)
CMYKcmyk(30.6%, 62.5%, 0%, 15.3%)
CIE-LABlab(48.67, 53.60, -58.47)
CIE-LCHlch(48.67, 79.32, 312.51°)
OKLaboklab(58.07% 0.1133 -0.1656)
OKLCHoklch(58.07% 0.201 304.4)
XYZxyz(27.9120, 17.3269, 66.8264)
Luminance0.1733 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9651D8 #93D851
analogous
#5251D8 #9651D8 #D851D6
triadic
#9651D8 #D89651 #51D896
tetradic
#9651D8 #D85251 #93D851 #51D6D8
square
#9651D8 #D85251 #93D851 #51D6D8
split-complementary
#9651D8 #D6D851 #51D852
monochromatic
#59208F #782BC1 #9651D8 #B483E3 #D2B5EE

Accessibility & contrast

On white

4.70
#9651D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#9651D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9651D8
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9651D8#FFFFFF#000000##FFFFFF
##9651D81.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072DC
Deuteranopia (green-blind)
#2D74D5
Tritanopia (blue-blind)
#8A6D8D
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #9651d8;
/* rgb */ color: rgb(150, 81, 216);
/* oklch */ color: oklch(58.1% 0.201 304.4);
Tailwind
colors: {
  custom: {
    50: '#b986e5',
    500: '#9651d8',
    950: '#000000',
  },
}
SCSS
$custom: #9651d8;
$custom-light: #b986e5;
$custom-dark: #000000;
JSON
{
  "hex": "#9651d8",
  "rgb": {
    "r": 150,
    "g": 81,
    "b": 216
  },
  "hsl": {
    "h": 270.667,
    "s": 63.38,
    "l": 58.235
  },
  "oklch": {
    "l": 0.58066,
    "c": 0.20067,
    "h": 304.4
  },
  "luminance": 0.17327
}

Semantic roles & 50–950 ramp

primary
#9651D8
secondary
#C2DDA8
accent
#E64192
background
#FBF8FE
surface
#F7F0FC
border
#D0CBD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #9651D8

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

Preview Lab → · Contrast checker → · Palette generator →

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