#9652E6#9652E6

#9652E6 is a mid, highly saturated violet. Relative luminance 0.182; OKLCH L 59.2% C 0.215 H 301.2°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#9652E6
RGBrgb(150, 82, 230)
HSLhsl(268, 75%, 61%)
HSVhsv(268, 64%, 90%)
CMYKcmyk(34.8%, 64.3%, 0%, 9.8%)
CIE-LABlab(49.78, 56.44, -64.62)
CIE-LCHlch(49.78, 85.80, 311.13°)
OKLaboklab(59.16% 0.1111 -0.1837)
OKLCHoklch(59.16% 0.215 301.2)
XYZxyz(29.8745, 18.2316, 76.7927)
Luminance0.1823 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9652E6 #A2E652
analogous
#5258E6 #9652E6 #E052E6
triadic
#9652E6 #E69652 #52E696
tetradic
#9652E6 #E65258 #A2E652 #52E6E0
square
#9652E6 #E65258 #A2E652 #52E6E0
split-complementary
#9652E6 #E6E052 #58E652
monochromatic
#5918A6 #7620DB #9652E6 #B687EE #D7BDF5

Accessibility & contrast

On white

4.52
#9652E6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#9652E6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9652E6
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9652E6#FFFFFF#000000##000000
##9652E61.004.524.654.65
#FFFFFF4.521.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0076EB
Deuteranopia (green-blind)
#0E76E3
Tritanopia (blue-blind)
#857395
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #9652e6;
/* rgb */ color: rgb(150, 82, 230);
/* oklch */ color: oklch(59.2% 0.215 301.2);
Tailwind
colors: {
  custom: {
    50: '#ba86ef',
    500: '#9652e6',
    950: '#000000',
  },
}
SCSS
$custom: #9652e6;
$custom-light: #ba86ef;
$custom-dark: #000000;
JSON
{
  "hex": "#9652e6",
  "rgb": {
    "r": 150,
    "g": 82,
    "b": 230
  },
  "hsl": {
    "h": 267.568,
    "s": 74.747,
    "l": 61.176
  },
  "oklch": {
    "l": 0.59159,
    "c": 0.21471,
    "h": 301.2
  },
  "luminance": 0.18232
}

Semantic roles & 50–950 ramp

primary
#9652E6
secondary
#CCE6AE
accent
#D70F7B
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #9652E6

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

Preview Lab → · Contrast checker → · Palette generator →

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