#9252DA#9252DA

#9252DA is a mid, highly saturated violet. Relative luminance 0.172; OKLCH L 57.9% C 0.201 H 302.2°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#9252DA
RGBrgb(146, 82, 218)
HSLhsl(268, 65%, 59%)
HSVhsv(268, 62%, 85%)
CMYKcmyk(33%, 62.4%, 0%, 14.5%)
CIE-LABlab(48.52, 52.69, -59.87)
CIE-LCHlch(48.52, 79.75, 311.35°)
OKLaboklab(57.9% 0.1068 -0.1699)
OKLCHoklch(57.9% 0.201 302.2)
XYZxyz(27.5233, 17.2075, 68.1874)
Luminance0.1721 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9252DA #9ADA52
analogous
#5256DA #9252DA #D652DA
triadic
#9252DA #DA9252 #52DA92
tetradic
#9252DA #DA5256 #9ADA52 #52DAD6
square
#9252DA #DA5256 #9ADA52 #52DAD6
split-complementary
#9252DA #DAD652 #56DA52
monochromatic
#551F92 #732AC5 #9252DA #B284E5 #D2B7F0

Accessibility & contrast

On white

4.73
#9252DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#9252DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9252DA
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9252DA#FFFFFF#000000##FFFFFF
##9252DA1.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072DE
Deuteranopia (green-blind)
#2573D7
Tritanopia (blue-blind)
#846F8F
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #9252da;
/* rgb */ color: rgb(146, 82, 218);
/* oklch */ color: oklch(57.9% 0.201 302.2);
Tailwind
colors: {
  custom: {
    50: '#b786e6',
    500: '#9252da',
    950: '#000000',
  },
}
SCSS
$custom: #9252da;
$custom-light: #b786e6;
$custom-dark: #000000;
JSON
{
  "hex": "#9252da",
  "rgb": {
    "r": 146,
    "g": 82,
    "b": 218
  },
  "hsl": {
    "h": 268.235,
    "s": 64.762,
    "l": 58.824
  },
  "oklch": {
    "l": 0.57896,
    "c": 0.20066,
    "h": 302.2
  },
  "luminance": 0.17208
}

Semantic roles & 50–950 ramp

primary
#9252DA
secondary
#C5DFA9
accent
#E84099
background
#FBF8FE
surface
#F6F0FC
border
#D0CBD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #9252DA

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

Preview Lab → · Contrast checker → · Palette generator →

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