#9052D5#9052D5

#9052D5 is a mid, vivid violet. Relative luminance 0.168; OKLCH L 57.3% C 0.195 H 302.4°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#9052D5
RGBrgb(144, 82, 213)
HSLhsl(268, 61%, 58%)
HSVhsv(268, 62%, 84%)
CMYKcmyk(32.4%, 61.5%, 0%, 16.5%)
CIE-LABlab(47.97, 51.03, -57.92)
CIE-LCHlch(47.97, 77.20, 311.38°)
OKLaboklab(57.34% 0.1044 -0.1642)
OKLCHoklch(57.34% 0.195 302.4)
XYZxyz(26.5263, 16.7679, 64.7769)
Luminance0.1677 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9052D5 #97D552
analogous
#5255D5 #9052D5 #D152D5
triadic
#9052D5 #D59052 #52D590
tetradic
#9052D5 #D55255 #97D552 #52D5D1
square
#9052D5 #D55255 #97D552 #52D5D1
split-complementary
#9052D5 #D5D152 #55D552
monochromatic
#53228B #712EBC #9052D5 #B083E1 #CFB4ED

Accessibility & contrast

On white

4.82
#9052D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#9052D5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9052D5
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9052D5#FFFFFF#000000##FFFFFF
##9052D51.004.824.354.82
#FFFFFF4.821.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071D9
Deuteranopia (green-blind)
#2A71D2
Tritanopia (blue-blind)
#826E8C
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #9052d5;
/* rgb */ color: rgb(144, 82, 213);
/* oklch */ color: oklch(57.3% 0.195 302.4);
Tailwind
colors: {
  custom: {
    50: '#b586e3',
    500: '#9052d5',
    950: '#000000',
  },
}
SCSS
$custom: #9052d5;
$custom-light: #b586e3;
$custom-dark: #000000;
JSON
{
  "hex": "#9052d5",
  "rgb": {
    "r": 144,
    "g": 82,
    "b": 213
  },
  "hsl": {
    "h": 268.397,
    "s": 60.93,
    "l": 57.843
  },
  "oklch": {
    "l": 0.5734,
    "c": 0.19463,
    "h": 302.4
  },
  "luminance": 0.16768
}

Semantic roles & 50–950 ramp

primary
#9052D5
secondary
#C3DCA7
accent
#E44498
background
#FBF8FE
surface
#F6EFFC
border
#D0CAD5
text
#120B15
muted
#817C84

Preview Lab

Preview with #9052D5

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

Preview Lab → · Contrast checker → · Palette generator →

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