#9652E4#9652E4

#9652E4 is a mid, highly saturated violet. Relative luminance 0.181; OKLCH L 59.0% C 0.213 H 301.6°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#9652E4
RGBrgb(150, 82, 228)
HSLhsl(268, 73%, 61%)
HSVhsv(268, 64%, 89%)
CMYKcmyk(34.2%, 64%, 0%, 10.6%)
CIE-LABlab(49.64, 55.96, -63.71)
CIE-LCHlch(49.64, 84.79, 311.29°)
OKLaboklab(59.02% 0.1113 -0.181)
OKLCHoklch(59.02% 0.213 301.6)
XYZxyz(29.5952, 18.1199, 75.3221)
Luminance0.1812 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9652E4 #A0E452
analogous
#5257E4 #9652E4 #DF52E4
triadic
#9652E4 #E49652 #52E496
tetradic
#9652E4 #E45257 #A0E452 #52E4DF
square
#9652E4 #E45257 #A0E452 #52E4DF
split-complementary
#9652E4 #E4DF52 #57E452
monochromatic
#5919A2 #7622D7 #9652E4 #B687EC #D6BCF5

Accessibility & contrast

On white

4.54
#9652E4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#9652E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9652E4
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9652E4#FFFFFF#000000##000000
##9652E41.004.544.624.62
#FFFFFF4.541.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075E9
Deuteranopia (green-blind)
#1675E1
Tritanopia (blue-blind)
#867294
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #9652e4;
/* rgb */ color: rgb(150, 82, 228);
/* oklch */ color: oklch(59.0% 0.213 301.6);
Tailwind
colors: {
  custom: {
    50: '#ba86ed',
    500: '#9652e4',
    950: '#000000',
  },
}
SCSS
$custom: #9652e4;
$custom-light: #ba86ed;
$custom-dark: #000000;
JSON
{
  "hex": "#9652e4",
  "rgb": {
    "r": 150,
    "g": 82,
    "b": 228
  },
  "hsl": {
    "h": 267.945,
    "s": 73,
    "l": 60.784
  },
  "oklch": {
    "l": 0.59019,
    "c": 0.21251,
    "h": 301.6
  },
  "luminance": 0.1812
}

Semantic roles & 50–950 ramp

primary
#9652E4
secondary
#CBE5AD
accent
#D51079
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #9652E4

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

Preview Lab → · Contrast checker → · Palette generator →

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