#9252CC#9252CC

#9252CC is a mid, vivid violet. Relative luminance 0.165; OKLCH L 57.0% C 0.185 H 305.5°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#9252CC
RGBrgb(146, 82, 204)
HSLhsl(271, 54%, 56%)
HSVhsv(271, 60%, 80%)
CMYKcmyk(28.4%, 59.8%, 0%, 20%)
CIE-LABlab(47.63, 49.34, -53.29)
CIE-LCHlch(47.63, 72.62, 312.79°)
OKLaboklab(56.97% 0.1073 -0.1506)
OKLCHoklch(56.97% 0.185 305.5)
XYZxyz(25.7681, 16.5054, 58.9434)
Luminance0.1651 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9252CC #8CCC52
analogous
#5552CC #9252CC #CC52C9
triadic
#9252CC #CC9252 #52CC92
tetradic
#9252CC #CC5552 #8CCC52 #52C9CC
square
#9252CC #CC5552 #8CCC52 #52C9CC
split-complementary
#9252CC #C9CC52 #52CC55
monochromatic
#54257E #7333AE #9252CC #B081DA #CEB1E8

Accessibility & contrast

On white

4.88
#9252CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#9252CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9252CC
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9252CC#FFFFFF#000000##FFFFFF
##9252CC1.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#186FD0
Deuteranopia (green-blind)
#3971C9
Tritanopia (blue-blind)
#886A87
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #9252cc;
/* rgb */ color: rgb(146, 82, 204);
/* oklch */ color: oklch(57.0% 0.185 305.5);
Tailwind
colors: {
  custom: {
    50: '#b686dc',
    500: '#9252cc',
    950: '#000000',
  },
}
SCSS
$custom: #9252cc;
$custom-light: #b686dc;
$custom-dark: #000000;
JSON
{
  "hex": "#9252cc",
  "rgb": {
    "r": 146,
    "g": 82,
    "b": 204
  },
  "hsl": {
    "h": 271.475,
    "s": 54.464,
    "l": 56.078
  },
  "oklch": {
    "l": 0.56966,
    "c": 0.18492,
    "h": 305.5
  },
  "luminance": 0.16505
}

Semantic roles & 50–950 ramp

primary
#9252CC
secondary
#BCD6A4
accent
#DE4A90
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #9252CC

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

Preview Lab → · Contrast checker → · Palette generator →

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