#9252DD#9252DD

#9252DD is a mid, highly saturated violet. Relative luminance 0.174; OKLCH L 58.1% C 0.204 H 301.5°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#9252DD
RGBrgb(146, 82, 221)
HSLhsl(268, 67%, 59%)
HSVhsv(268, 63%, 87%)
CMYKcmyk(33.9%, 62.9%, 0%, 13.3%)
CIE-LABlab(48.72, 53.42, -61.26)
CIE-LCHlch(48.72, 81.28, 311.09°)
OKLaboklab(58.1% 0.1066 -0.174)
OKLCHoklch(58.1% 0.204 301.5)
XYZxyz(27.9194, 17.3659, 70.2737)
Luminance0.1737 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9252DD #9DDD52
analogous
#5258DD #9252DD #D852DD
triadic
#9252DD #DD9252 #52DD92
tetradic
#9252DD #DD5258 #9DDD52 #52DDD8
square
#9252DD #DD5258 #9DDD52 #52DDD8
split-complementary
#9252DD #DDD852 #58DD52
monochromatic
#561E97 #7228CA #9252DD #B285E7 #D2B8F1

Accessibility & contrast

On white

4.69
#9252DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#9252DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9252DD
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9252DD#FFFFFF#000000##FFFFFF
##9252DD1.004.694.474.69
#FFFFFF4.691.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073E1
Deuteranopia (green-blind)
#1F73DA
Tritanopia (blue-blind)
#837090
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #9252dd;
/* rgb */ color: rgb(146, 82, 221);
/* oklch */ color: oklch(58.1% 0.204 301.5);
Tailwind
colors: {
  custom: {
    50: '#b786e8',
    500: '#9252dd',
    950: '#000000',
  },
}
SCSS
$custom: #9252dd;
$custom-light: #b786e8;
$custom-dark: #000000;
JSON
{
  "hex": "#9252dd",
  "rgb": {
    "r": 146,
    "g": 82,
    "b": 221
  },
  "hsl": {
    "h": 267.626,
    "s": 67.15,
    "l": 59.412
  },
  "oklch": {
    "l": 0.58102,
    "c": 0.20402,
    "h": 301.5
  },
  "luminance": 0.17366
}

Semantic roles & 50–950 ramp

primary
#9252DD
secondary
#C8E0AA
accent
#EA3E9B
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #9252DD

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

Preview Lab → · Contrast checker → · Palette generator →

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