#9952FF#9952FF

#9952FF is a mid, highly saturated violet. Relative luminance 0.200; OKLCH L 61.3% C 0.242 H 297.5°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#9952FF
RGBrgb(153, 82, 255)
HSLhsl(265, 100%, 66%)
HSVhsv(265, 68%, 100%)
CMYKcmyk(40%, 67.8%, 0%, 0%)
CIE-LABlab(51.87, 63.10, -75.20)
CIE-LCHlch(51.87, 98.17, 310.00°)
OKLaboklab(61.29% 0.112 -0.2147)
OKLCHoklch(61.29% 0.242 297.5)
XYZxyz(34.1995, 20.0263, 96.6520)
Luminance0.2003 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9952FF #B8FF52
analogous
#5261FF #9952FF #EF52FF
triadic
#9952FF #FF9952 #52FF99
tetradic
#9952FF #FF5261 #B8FF52 #52FFEF
square
#9952FF #FF5261 #B8FF52 #52FFEF
split-complementary
#9952FF #FFEF52 #61FF52
monochromatic
#5800D7 #7515FF #9952FF #BD8FFF #E1CCFF

Accessibility & contrast

On white

4.20
#9952FF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#9952FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9952FF
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9952FF#FFFFFF#000000##000000
##9952FF1.004.205.015.01
#FFFFFF4.201.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CFF
Deuteranopia (green-blind)
#007AFB
Tritanopia (blue-blind)
#807CA2
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #9952ff;
/* rgb */ color: rgb(153, 82, 255);
/* oklch */ color: oklch(61.3% 0.242 297.5);
Tailwind
colors: {
  custom: {
    50: '#be87ff',
    500: '#9952ff',
    950: '#000000',
  },
}
SCSS
$custom: #9952ff;
$custom-light: #be87ff;
$custom-dark: #000000;
JSON
{
  "hex": "#9952ff",
  "rgb": {
    "r": 153,
    "g": 82,
    "b": 255
  },
  "hsl": {
    "h": 264.624,
    "s": 100,
    "l": 66.078
  },
  "oklch": {
    "l": 0.61287,
    "c": 0.2422,
    "h": 297.5
  },
  "luminance": 0.20027
}

Semantic roles & 50–950 ramp

primary
#9952FF
secondary
#DBF3BA
accent
#E60087
background
#FCF8FF
surface
#F8F0FF
border
#D1CBD7
text
#130C18
muted
#827D86

Preview Lab

Preview with #9952FF

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

Preview Lab → · Contrast checker → · Palette generator →

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