#9652D4#9652D4

#9652D4 is a mid, vivid violet. Relative luminance 0.173; OKLCH L 57.9% C 0.195 H 305.2°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#9652D4
RGBrgb(150, 82, 212)
HSLhsl(271, 60%, 58%)
HSVhsv(271, 61%, 83%)
CMYKcmyk(29.2%, 61.3%, 0%, 16.9%)
CIE-LABlab(48.60, 52.15, -56.29)
CIE-LCHlch(48.60, 76.74, 312.81°)
OKLaboklab(57.94% 0.1123 -0.1593)
OKLCHoklch(57.94% 0.195 305.2)
XYZxyz(27.4760, 17.2723, 64.1610)
Luminance0.1727 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9652D4 #90D452
analogous
#5552D4 #9652D4 #D452D1
triadic
#9652D4 #D49652 #52D496
tetradic
#9652D4 #D45552 #90D452 #52D1D4
square
#9652D4 #D45552 #90D452 #52D1D4
split-complementary
#9652D4 #D1D452 #52D455
monochromatic
#582289 #782EBA #9652D4 #B483E0 #D2B4EC

Accessibility & contrast

On white

4.71
#9652D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#9652D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9652D4
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9652D4#FFFFFF#000000##FFFFFF
##9652D41.004.714.454.71
#FFFFFF4.711.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0171D8
Deuteranopia (green-blind)
#3474D1
Tritanopia (blue-blind)
#8B6D8B
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #9652d4;
/* rgb */ color: rgb(150, 82, 212);
/* oklch */ color: oklch(57.9% 0.195 305.2);
Tailwind
colors: {
  custom: {
    50: '#b986e2',
    500: '#9652d4',
    950: '#000000',
  },
}
SCSS
$custom: #9652d4;
$custom-light: #b986e2;
$custom-dark: #000000;
JSON
{
  "hex": "#9652d4",
  "rgb": {
    "r": 150,
    "g": 82,
    "b": 212
  },
  "hsl": {
    "h": 271.385,
    "s": 60.185,
    "l": 57.647
  },
  "oklch": {
    "l": 0.57935,
    "c": 0.19487,
    "h": 305.2
  },
  "luminance": 0.17272
}

Semantic roles & 50–950 ramp

primary
#9652D4
secondary
#C0DBA7
accent
#E34490
background
#FBF8FD
surface
#F7F0FB
border
#D0CBD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #9652D4

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

Preview Lab → · Contrast checker → · Palette generator →

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