#9052E1#9052E1

#9052E1 is a mid, highly saturated violet. Relative luminance 0.174; OKLCH L 58.2% C 0.208 H 299.9°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#9052E1
RGBrgb(144, 82, 225)
HSLhsl(266, 70%, 60%)
HSVhsv(266, 64%, 88%)
CMYKcmyk(36%, 63.6%, 0%, 11.8%)
CIE-LABlab(48.76, 53.97, -63.47)
CIE-LCHlch(48.76, 83.32, 310.38°)
OKLaboklab(58.17% 0.1036 -0.1805)
OKLCHoklch(58.17% 0.208 299.9)
XYZxyz(28.1062, 17.3999, 73.0973)
Luminance0.1740 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9052E1 #A3E152
analogous
#525BE1 #9052E1 #D752E1
triadic
#9052E1 #E19052 #52E190
tetradic
#9052E1 #E1525B #A3E152 #52E1D7
square
#9052E1 #E1525B #A3E152 #52E1D7
split-complementary
#9052E1 #E1D752 #5BE152
monochromatic
#541B9D #6F24D1 #9052E1 #B186EA #D3BAF3

Accessibility & contrast

On white

4.69
#9052E1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#9052E1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9052E1
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9052E1#FFFFFF#000000##FFFFFF
##9052E11.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073E5
Deuteranopia (green-blind)
#0B73DE
Tritanopia (blue-blind)
#7E7292
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #9052e1;
/* rgb */ color: rgb(144, 82, 225);
/* oklch */ color: oklch(58.2% 0.208 299.9);
Tailwind
colors: {
  custom: {
    50: '#b686eb',
    500: '#9052e1',
    950: '#000000',
  },
}
SCSS
$custom: #9052e1;
$custom-light: #b686eb;
$custom-dark: #000000;
JSON
{
  "hex": "#9052e1",
  "rgb": {
    "r": 144,
    "g": 82,
    "b": 225
  },
  "hsl": {
    "h": 266.014,
    "s": 70.443,
    "l": 60.196
  },
  "oklch": {
    "l": 0.58167,
    "c": 0.20817,
    "h": 299.9
  },
  "luminance": 0.174
}

Semantic roles & 50–950 ramp

primary
#9052E1
secondary
#CBE3AC
accent
#D2137F
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #9052E1

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

Preview Lab → · Contrast checker → · Palette generator →

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