#9652DB#9652DB

#9652DB is a mid, highly saturated violet. Relative luminance 0.176; OKLCH L 58.4% C 0.203 H 303.5°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#9652DB
RGBrgb(150, 82, 219)
HSLhsl(270, 66%, 59%)
HSVhsv(270, 63%, 86%)
CMYKcmyk(31.5%, 62.6%, 0%, 14.1%)
CIE-LABlab(49.05, 53.80, -59.56)
CIE-LCHlch(49.05, 80.27, 312.09°)
OKLaboklab(58.4% 0.112 -0.1689)
OKLCHoklch(58.4% 0.203 303.5)
XYZxyz(28.3782, 17.6331, 68.9126)
Luminance0.1763 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9652DB #97DB52
analogous
#5253DB #9652DB #DB52DB
triadic
#9652DB #DB9652 #52DB96
tetradic
#9652DB #DB5253 #97DB52 #52DBDB
square
#9652DB #DB5253 #97DB52 #52DBDB
split-complementary
#9652DB #DBDB52 #53DB52
monochromatic
#591F94 #7729C6 #9652DB #B585E6 #D3B7F0

Accessibility & contrast

On white

4.64
#9652DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#9652DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #9652DB
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9652DB#FFFFFF#000000##FFFFFF
##9652DB1.004.644.534.64
#FFFFFF4.641.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073DF
Deuteranopia (green-blind)
#2A74D8
Tritanopia (blue-blind)
#896F8F
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #9652db;
/* rgb */ color: rgb(150, 82, 219);
/* oklch */ color: oklch(58.4% 0.203 303.5);
Tailwind
colors: {
  custom: {
    50: '#b986e7',
    500: '#9652db',
    950: '#000000',
  },
}
SCSS
$custom: #9652db;
$custom-light: #b986e7;
$custom-dark: #000000;
JSON
{
  "hex": "#9652db",
  "rgb": {
    "r": 150,
    "g": 82,
    "b": 219
  },
  "hsl": {
    "h": 269.781,
    "s": 65.55,
    "l": 59.02
  },
  "oklch": {
    "l": 0.58402,
    "c": 0.20261,
    "h": 303.5
  },
  "luminance": 0.17633
}

Semantic roles & 50–950 ramp

primary
#9652DB
secondary
#C5DFAA
accent
#E93F95
background
#FBF8FE
surface
#F7F0FC
border
#D0CBD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #9652DB

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

Preview Lab → · Contrast checker → · Palette generator →

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