#9052D9#9052D9

#9052D9 is a mid, vivid violet. Relative luminance 0.170; OKLCH L 57.6% C 0.199 H 301.6°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#9052D9
RGBrgb(144, 82, 217)
HSLhsl(268, 64%, 59%)
HSVhsv(268, 62%, 85%)
CMYKcmyk(33.6%, 62.2%, 0%, 14.9%)
CIE-LABlab(48.23, 52.01, -59.78)
CIE-LCHlch(48.23, 79.24, 311.02°)
OKLaboklab(57.61% 0.1042 -0.1697)
OKLCHoklch(57.61% 0.199 301.6)
XYZxyz(27.0403, 16.9735, 67.4838)
Luminance0.1697 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9052D9 #9BD952
analogous
#5257D9 #9052D9 #D452D9
triadic
#9052D9 #D99052 #52D990
tetradic
#9052D9 #D95257 #9BD952 #52D9D4
square
#9052D9 #D95257 #9BD952 #52D9D4
split-complementary
#9052D9 #D9D452 #57D952
monochromatic
#542091 #712BC3 #9052D9 #B084E4 #D0B6EF

Accessibility & contrast

On white

4.78
#9052D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#9052D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9052D9
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9052D9#FFFFFF#000000##FFFFFF
##9052D91.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072DD
Deuteranopia (green-blind)
#2372D6
Tritanopia (blue-blind)
#816F8E
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #9052d9;
/* rgb */ color: rgb(144, 82, 217);
/* oklch */ color: oklch(57.6% 0.199 301.6);
Tailwind
colors: {
  custom: {
    50: '#b586e5',
    500: '#9052d9',
    950: '#000000',
  },
}
SCSS
$custom: #9052d9;
$custom-light: #b586e5;
$custom-dark: #000000;
JSON
{
  "hex": "#9052d9",
  "rgb": {
    "r": 144,
    "g": 82,
    "b": 217
  },
  "hsl": {
    "h": 267.556,
    "s": 63.981,
    "l": 58.627
  },
  "oklch": {
    "l": 0.57611,
    "c": 0.19916,
    "h": 301.6
  },
  "luminance": 0.16974
}

Semantic roles & 50–950 ramp

primary
#9052D9
secondary
#C6DEA9
accent
#E7419B
background
#FBF8FE
surface
#F6F0FC
border
#D0CBD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #9052D9

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

Preview Lab → · Contrast checker → · Palette generator →

#9052D9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva