#9052D8#9052D8

#9052D8 is a mid, vivid violet. Relative luminance 0.169; OKLCH L 57.5% C 0.198 H 301.8°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#9052D8
RGBrgb(144, 82, 216)
HSLhsl(268, 63%, 58%)
HSVhsv(268, 62%, 85%)
CMYKcmyk(33.3%, 62%, 0%, 15.3%)
CIE-LABlab(48.16, 51.76, -59.32)
CIE-LCHlch(48.16, 78.73, 311.11°)
OKLaboklab(57.54% 0.1043 -0.1683)
OKLCHoklch(57.54% 0.198 301.8)
XYZxyz(26.9106, 16.9217, 66.8009)
Luminance0.1692 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9052D8 #9AD852
analogous
#5257D8 #9052D8 #D352D8
triadic
#9052D8 #D89052 #52D890
tetradic
#9052D8 #D85257 #9AD852 #52D8D3
square
#9052D8 #D85257 #9AD852 #52D8D3
split-complementary
#9052D8 #D8D352 #57D852
monochromatic
#54208F #712CC1 #9052D8 #B084E3 #D0B6EF

Accessibility & contrast

On white

4.79
#9052D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#9052D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9052D8
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9052D8#FFFFFF#000000##FFFFFF
##9052D81.004.794.384.79
#FFFFFF4.791.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071DC
Deuteranopia (green-blind)
#2572D5
Tritanopia (blue-blind)
#816F8D
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #9052d8;
/* rgb */ color: rgb(144, 82, 216);
/* oklch */ color: oklch(57.5% 0.198 301.8);
Tailwind
colors: {
  custom: {
    50: '#b586e5',
    500: '#9052d8',
    950: '#000000',
  },
}
SCSS
$custom: #9052d8;
$custom-light: #b586e5;
$custom-dark: #000000;
JSON
{
  "hex": "#9052d8",
  "rgb": {
    "r": 144,
    "g": 82,
    "b": 216
  },
  "hsl": {
    "h": 267.761,
    "s": 63.208,
    "l": 58.431
  },
  "oklch": {
    "l": 0.57543,
    "c": 0.19802,
    "h": 301.8
  },
  "luminance": 0.16922
}

Semantic roles & 50–950 ramp

primary
#9052D8
secondary
#C5DDA8
accent
#E6429A
background
#FBF8FE
surface
#F6F0FC
border
#D0CBD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #9052D8

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

Preview Lab → · Contrast checker → · Palette generator →

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