#9652EB#9652EB

#9652EB is a mid, highly saturated violet. Relative luminance 0.185; OKLCH L 59.5% C 0.220 H 300.2°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#9652EB
RGBrgb(150, 82, 235)
HSLhsl(267, 79%, 62%)
HSVhsv(267, 65%, 92%)
CMYKcmyk(36.2%, 65.1%, 0%, 7.8%)
CIE-LABlab(50.12, 57.65, -66.88)
CIE-LCHlch(50.12, 88.30, 310.76°)
OKLaboklab(59.51% 0.1106 -0.1904)
OKLCHoklch(59.51% 0.22 300.2)
XYZxyz(30.5867, 18.5165, 80.5438)
Luminance0.1852 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9652EB #A7EB52
analogous
#525AEB #9652EB #E352EB
triadic
#9652EB #EB9652 #52EB96
tetradic
#9652EB #EB525A #A7EB52 #52EBE3
square
#9652EB #EB525A #A7EB52 #52EBE3
split-complementary
#9652EB #EBE352 #5AEB52
monochromatic
#5914AE #751BE5 #9652EB #B789F1 #D9C0F8

Accessibility & contrast

On white

4.46
#9652EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#9652EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9652EB
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9652EB#FFFFFF#000000##000000
##9652EB1.004.464.704.70
#FFFFFF4.461.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077F0
Deuteranopia (green-blind)
#0076E8
Tritanopia (blue-blind)
#837598
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #9652eb;
/* rgb */ color: rgb(150, 82, 235);
/* oklch */ color: oklch(59.5% 0.220 300.2);
Tailwind
colors: {
  custom: {
    50: '#ba87f2',
    500: '#9652eb',
    950: '#000000',
  },
}
SCSS
$custom: #9652eb;
$custom-light: #ba87f2;
$custom-dark: #000000;
JSON
{
  "hex": "#9652eb",
  "rgb": {
    "r": 150,
    "g": 82,
    "b": 235
  },
  "hsl": {
    "h": 266.667,
    "s": 79.275,
    "l": 62.157
  },
  "oklch": {
    "l": 0.59512,
    "c": 0.22018,
    "h": 300.2
  },
  "luminance": 0.18517
}

Semantic roles & 50–950 ramp

primary
#9652EB
secondary
#D0E8B0
accent
#DC0A7E
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#120B17
muted
#817C85

Preview Lab

Preview with #9652EB

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

Preview Lab → · Contrast checker → · Palette generator →

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