#9652E7#9652E7

#9652E7 is a mid, highly saturated violet. Relative luminance 0.183; OKLCH L 59.2% C 0.216 H 301.0°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#9652E7
RGBrgb(150, 82, 231)
HSLhsl(267, 76%, 61%)
HSVhsv(267, 65%, 91%)
CMYKcmyk(35.1%, 64.5%, 0%, 9.4%)
CIE-LABlab(49.84, 56.68, -65.07)
CIE-LCHlch(49.84, 86.30, 311.06°)
OKLaboklab(59.23% 0.111 -0.1851)
OKLCHoklch(59.23% 0.216 301)
XYZxyz(30.0153, 18.2880, 77.5344)
Luminance0.1829 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9652E7 #A3E752
analogous
#5259E7 #9652E7 #E152E7
triadic
#9652E7 #E79652 #52E796
tetradic
#9652E7 #E75259 #A3E752 #52E7E1
square
#9652E7 #E75259 #A3E752 #52E7E1
split-complementary
#9652E7 #E7E152 #59E752
monochromatic
#5917A7 #761FDD #9652E7 #B788EE #D7BDF6

Accessibility & contrast

On white

4.51
#9652E7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#9652E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9652E7
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9652E7#FFFFFF#000000##000000
##9652E71.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0076EC
Deuteranopia (green-blind)
#0876E4
Tritanopia (blue-blind)
#857395
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #9652e7;
/* rgb */ color: rgb(150, 82, 231);
/* oklch */ color: oklch(59.2% 0.216 301.0);
Tailwind
colors: {
  custom: {
    50: '#ba86ef',
    500: '#9652e7',
    950: '#000000',
  },
}
SCSS
$custom: #9652e7;
$custom-light: #ba86ef;
$custom-dark: #000000;
JSON
{
  "hex": "#9652e7",
  "rgb": {
    "r": 150,
    "g": 82,
    "b": 231
  },
  "hsl": {
    "h": 267.383,
    "s": 75.635,
    "l": 61.373
  },
  "oklch": {
    "l": 0.59229,
    "c": 0.21581,
    "h": 301
  },
  "luminance": 0.18288
}

Semantic roles & 50–950 ramp

primary
#9652E7
secondary
#CDE6AF
accent
#D80E7C
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120B17
muted
#817C85

Preview Lab

Preview with #9652E7

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

Preview Lab → · Contrast checker → · Palette generator →

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