#9452CB#9452CB

#9452CB is a mid, vivid violet. Relative luminance 0.166; OKLCH L 57.1% C 0.184 H 306.6°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#9452CB
RGBrgb(148, 82, 203)
HSLhsl(273, 54%, 56%)
HSVhsv(273, 60%, 80%)
CMYKcmyk(27.1%, 59.6%, 0%, 20.4%)
CIE-LABlab(47.81, 49.58, -52.42)
CIE-LCHlch(47.81, 72.15, 313.40°)
OKLaboklab(57.13% 0.1099 -0.148)
OKLCHoklch(57.13% 0.184 306.6)
XYZxyz(26.0073, 16.6425, 58.3306)
Luminance0.1664 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9452CB #89CB52
analogous
#5752CB #9452CB #CB52C6
triadic
#9452CB #CB9452 #52CB94
tetradic
#9452CB #CB5752 #89CB52 #52C6CB
square
#9452CB #CB5752 #89CB52 #52C6CB
split-complementary
#9452CB #C6CB52 #52CB57
monochromatic
#55267D #7534AC #9452CB #B181D9 #CEB0E7

Accessibility & contrast

On white

4.85
#9452CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#9452CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9452CB
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9452CB#FFFFFF#000000##FFFFFF
##9452CB1.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C6FCF
Deuteranopia (green-blind)
#3C72C8
Tritanopia (blue-blind)
#8B6A87
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #9452cb;
/* rgb */ color: rgb(148, 82, 203);
/* oklch */ color: oklch(57.1% 0.184 306.6);
Tailwind
colors: {
  custom: {
    50: '#b786db',
    500: '#9452cb',
    950: '#000000',
  },
}
SCSS
$custom: #9452cb;
$custom-light: #b786db;
$custom-dark: #000000;
JSON
{
  "hex": "#9452cb",
  "rgb": {
    "r": 148,
    "g": 82,
    "b": 203
  },
  "hsl": {
    "h": 272.727,
    "s": 53.778,
    "l": 55.882
  },
  "oklch": {
    "l": 0.57126,
    "c": 0.18432,
    "h": 306.6
  },
  "luminance": 0.16642
}

Semantic roles & 50–950 ramp

primary
#9452CB
secondary
#BAD5A3
accent
#DD4B8D
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #9452CB

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

Preview Lab → · Contrast checker → · Palette generator →

#9452CB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva