#9052EC#9052EC

#9052EC is a mid, highly saturated violet. Relative luminance 0.180; OKLCH L 59.0% C 0.220 H 297.7°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#9052EC
RGBrgb(144, 82, 236)
HSLhsl(264, 80%, 62%)
HSVhsv(264, 65%, 93%)
CMYKcmyk(39%, 65.3%, 0%, 7.5%)
CIE-LABlab(49.52, 56.71, -68.45)
CIE-LCHlch(49.52, 88.89, 309.64°)
OKLaboklab(58.96% 0.1026 -0.1952)
OKLCHoklch(58.96% 0.22 297.7)
XYZxyz(29.6553, 18.0195, 81.2563)
Luminance0.1802 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9052EC #AEEC52
analogous
#5261EC #9052EC #DD52EC
triadic
#9052EC #EC9052 #52EC90
tetradic
#9052EC #EC5261 #AEEC52 #52ECDD
square
#9052EC #EC5261 #AEEC52 #52ECDD
split-complementary
#9052EC #ECDD52 #61EC52
monochromatic
#5313B0 #6D1BE6 #9052EC #B389F2 #D7C0F8

Accessibility & contrast

On white

4.56
#9052EC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#9052EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9052EC
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9052EC#FFFFFF#000000##000000
##9052EC1.004.564.604.60
#FFFFFF4.561.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0076F1
Deuteranopia (green-blind)
#0074E9
Tritanopia (blue-blind)
#7A7698
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #9052ec;
/* rgb */ color: rgb(144, 82, 236);
/* oklch */ color: oklch(59.0% 0.220 297.7);
Tailwind
colors: {
  custom: {
    50: '#b786f3',
    500: '#9052ec',
    950: '#000000',
  },
}
SCSS
$custom: #9052ec;
$custom-light: #b786f3;
$custom-dark: #000000;
JSON
{
  "hex": "#9052ec",
  "rgb": {
    "r": 144,
    "g": 82,
    "b": 236
  },
  "hsl": {
    "h": 264.156,
    "s": 80.208,
    "l": 62.353
  },
  "oklch": {
    "l": 0.58955,
    "c": 0.22047,
    "h": 297.7
  },
  "luminance": 0.1802
}

Semantic roles & 50–950 ramp

primary
#9052EC
secondary
#D2E9B1
accent
#DD0987
background
#FBF8FF
surface
#F7F0FE
border
#D0CBD6
text
#120B17
muted
#817C85

Preview Lab

Preview with #9052EC

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

Preview Lab → · Contrast checker → · Palette generator →

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