#9952EF#9952EF

#9952EF is a mid, highly saturated violet. Relative luminance 0.190; OKLCH L 60.1% C 0.225 H 300.5°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#9952EF
RGBrgb(153, 82, 239)
HSLhsl(267, 83%, 63%)
HSVhsv(267, 66%, 94%)
CMYKcmyk(36%, 65.7%, 0%, 6.3%)
CIE-LABlab(50.73, 59.22, -68.12)
CIE-LCHlch(50.73, 90.26, 311.00°)
OKLaboklab(60.12% 0.1141 -0.1939)
OKLCHoklch(60.12% 0.225 300.5)
XYZxyz(31.7304, 19.0386, 83.6478)
Luminance0.1904 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9952EF #A8EF52
analogous
#5259EF #9952EF #E852EF
triadic
#9952EF #EF9952 #52EF99
tetradic
#9952EF #EF5259 #A8EF52 #52EFE8
square
#9952EF #EF5259 #A8EF52 #52EFE8
split-complementary
#9952EF #EFE852 #59EF52
monochromatic
#5B11B6 #781AEA #9952EF #BA8AF4 #DBC2F9

Accessibility & contrast

On white

4.37
#9952EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#9952EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9952EF
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9952EF#FFFFFF#000000##000000
##9952EF1.004.374.814.81
#FFFFFF4.371.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078F4
Deuteranopia (green-blind)
#0078EC
Tritanopia (blue-blind)
#86769A
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #9952ef;
/* rgb */ color: rgb(153, 82, 239);
/* oklch */ color: oklch(60.1% 0.225 300.5);
Tailwind
colors: {
  custom: {
    50: '#bd87f5',
    500: '#9952ef',
    950: '#000000',
  },
}
SCSS
$custom: #9952ef;
$custom-light: #bd87f5;
$custom-dark: #000000;
JSON
{
  "hex": "#9952ef",
  "rgb": {
    "r": 153,
    "g": 82,
    "b": 239
  },
  "hsl": {
    "h": 267.134,
    "s": 83.069,
    "l": 62.941
  },
  "oklch": {
    "l": 0.60118,
    "c": 0.22501,
    "h": 300.5
  },
  "luminance": 0.19039
}

Semantic roles & 50–950 ramp

primary
#9952EF
secondary
#D1EBB2
accent
#DF067D
background
#FCF8FF
surface
#F8F0FF
border
#D1CBD7
text
#130C17
muted
#827D85

Preview Lab

Preview with #9952EF

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

Preview Lab → · Contrast checker → · Palette generator →

#9952EF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva