#9452CC#9452CC

#9452CC is a mid, vivid violet. Relative luminance 0.167; OKLCH L 57.2% C 0.185 H 306.3°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#9452CC
RGBrgb(148, 82, 204)
HSLhsl(272, 54%, 56%)
HSVhsv(272, 60%, 80%)
CMYKcmyk(27.5%, 59.8%, 0%, 20%)
CIE-LABlab(47.87, 49.81, -52.90)
CIE-LCHlch(47.87, 72.66, 313.28°)
OKLaboklab(57.19% 0.1099 -0.1494)
OKLCHoklch(57.19% 0.185 306.3)
XYZxyz(26.1268, 16.6904, 58.9602)
Luminance0.1669 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9452CC #8ACC52
analogous
#5752CC #9452CC #CC52C7
triadic
#9452CC #CC9452 #52CC94
tetradic
#9452CC #CC5752 #8ACC52 #52C7CC
square
#9452CC #CC5752 #8ACC52 #52C7CC
split-complementary
#9452CC #C7CC52 #52CC57
monochromatic
#55257E #7533AE #9452CC #B181DA #CEB1E8

Accessibility & contrast

On white

4.84
#9452CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#9452CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9452CC
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9452CC#FFFFFF#000000##FFFFFF
##9452CC1.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A6FD0
Deuteranopia (green-blind)
#3B72C9
Tritanopia (blue-blind)
#8B6A87
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #9452cc;
/* rgb */ color: rgb(148, 82, 204);
/* oklch */ color: oklch(57.2% 0.185 306.3);
Tailwind
colors: {
  custom: {
    50: '#b786dc',
    500: '#9452cc',
    950: '#000000',
  },
}
SCSS
$custom: #9452cc;
$custom-light: #b786dc;
$custom-dark: #000000;
JSON
{
  "hex": "#9452cc",
  "rgb": {
    "r": 148,
    "g": 82,
    "b": 204
  },
  "hsl": {
    "h": 272.459,
    "s": 54.464,
    "l": 56.078
  },
  "oklch": {
    "l": 0.5719,
    "c": 0.18544,
    "h": 306.3
  },
  "luminance": 0.1669
}

Semantic roles & 50–950 ramp

primary
#9452CC
secondary
#BBD6A4
accent
#DE4A8E
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #9452CC

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

Preview Lab → · Contrast checker → · Palette generator →

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