#9252CA#9252CA

#9252CA is a mid, vivid violet. Relative luminance 0.164; OKLCH L 56.8% C 0.183 H 306.0°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#9252CA
RGBrgb(146, 82, 202)
HSLhsl(272, 53%, 56%)
HSVhsv(272, 59%, 79%)
CMYKcmyk(27.7%, 59.4%, 0%, 20.8%)
CIE-LABlab(47.51, 48.87, -52.34)
CIE-LCHlch(47.51, 71.60, 313.03°)
OKLaboklab(56.84% 0.1074 -0.1478)
OKLCHoklch(56.84% 0.183 306)
XYZxyz(25.5298, 16.4101, 57.6882)
Luminance0.1641 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9252CA #8ACA52
analogous
#5652CA #9252CA #CA52C6
triadic
#9252CA #CA9252 #52CA92
tetradic
#9252CA #CA5652 #8ACA52 #52C6CA
square
#9252CA #CA5652 #8ACA52 #52C6CA
split-complementary
#9252CA #C6CA52 #52CA56
monochromatic
#54267C #7334AB #9252CA #B081D8 #CDB0E7

Accessibility & contrast

On white

4.90
#9252CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#9252CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9252CA
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9252CA#FFFFFF#000000##FFFFFF
##9252CA1.004.904.284.90
#FFFFFF4.901.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C6FCE
Deuteranopia (green-blind)
#3B71C7
Tritanopia (blue-blind)
#896A86
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #9252ca;
/* rgb */ color: rgb(146, 82, 202);
/* oklch */ color: oklch(56.8% 0.183 306.0);
Tailwind
colors: {
  custom: {
    50: '#b586db',
    500: '#9252ca',
    950: '#000000',
  },
}
SCSS
$custom: #9252ca;
$custom-light: #b586db;
$custom-dark: #000000;
JSON
{
  "hex": "#9252ca",
  "rgb": {
    "r": 146,
    "g": 82,
    "b": 202
  },
  "hsl": {
    "h": 272,
    "s": 53.097,
    "l": 55.686
  },
  "oklch": {
    "l": 0.56837,
    "c": 0.18266,
    "h": 306
  },
  "luminance": 0.1641
}

Semantic roles & 50–950 ramp

primary
#9252CA
secondary
#BAD5A3
accent
#DD4B8F
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #9252CA

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

Preview Lab → · Contrast checker → · Palette generator →

#9252CA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva