#9651DB#9651DB

#9651DB is a mid, highly saturated violet. Relative luminance 0.175; OKLCH L 58.3% C 0.204 H 303.7°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#9651DB
RGBrgb(150, 81, 219)
HSLhsl(270, 66%, 59%)
HSVhsv(270, 63%, 86%)
CMYKcmyk(31.5%, 63%, 0%, 14.1%)
CIE-LABlab(48.86, 54.31, -59.86)
CIE-LCHlch(48.86, 80.82, 312.21°)
OKLaboklab(58.27% 0.1131 -0.1697)
OKLCHoklch(58.27% 0.204 303.7)
XYZxyz(28.3034, 17.4834, 68.8876)
Luminance0.1748 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9651DB #96DB51
analogous
#5151DB #9651DB #DB51DB
triadic
#9651DB #DB9651 #51DB96
tetradic
#9651DB #DB5151 #96DB51 #51DBDB
square
#9651DB #DB5151 #96DB51 #51DBDB
split-complementary
#9651DB #DBDB51 #51DB51
monochromatic
#591E93 #7729C6 #9651DB #B584E5 #D3B6F0

Accessibility & contrast

On white

4.67
#9651DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#9651DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #9651DB
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9651DB#FFFFFF#000000##FFFFFF
##9651DB1.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073DF
Deuteranopia (green-blind)
#2874D8
Tritanopia (blue-blind)
#896E8F
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #9651db;
/* rgb */ color: rgb(150, 81, 219);
/* oklch */ color: oklch(58.3% 0.204 303.7);
Tailwind
colors: {
  custom: {
    50: '#b986e7',
    500: '#9651db',
    950: '#000000',
  },
}
SCSS
$custom: #9651db;
$custom-light: #b986e7;
$custom-dark: #000000;
JSON
{
  "hex": "#9651db",
  "rgb": {
    "r": 150,
    "g": 81,
    "b": 219
  },
  "hsl": {
    "h": 270,
    "s": 65.714,
    "l": 58.824
  },
  "oklch": {
    "l": 0.58268,
    "c": 0.20396,
    "h": 303.7
  },
  "luminance": 0.17483
}

Semantic roles & 50–950 ramp

primary
#9651DB
secondary
#C4DFA9
accent
#E93F94
background
#FBF8FE
surface
#F7F0FC
border
#D0CBD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #9651DB

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

Preview Lab → · Contrast checker → · Palette generator →

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