#9051E2#9051E2

#9051E2 is a mid, highly saturated violet. Relative luminance 0.173; OKLCH L 58.1% C 0.211 H 299.8°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#9051E2
RGBrgb(144, 81, 226)
HSLhsl(266, 71%, 60%)
HSVhsv(266, 64%, 89%)
CMYKcmyk(36.3%, 64.2%, 0%, 11.4%)
CIE-LABlab(48.64, 54.73, -64.23)
CIE-LCHlch(48.64, 84.38, 310.44°)
OKLaboklab(58.1% 0.1047 -0.1828)
OKLCHoklch(58.1% 0.211 299.8)
XYZxyz(28.1681, 17.3049, 73.7929)
Luminance0.1731 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9051E2 #A3E251
analogous
#515AE2 #9051E2 #D951E2
triadic
#9051E2 #E29051 #51E290
tetradic
#9051E2 #E2515A #A3E251 #51E2D9
square
#9051E2 #E2515A #A3E251 #51E2D9
split-complementary
#9051E2 #E2D951 #5AE251
monochromatic
#541A9E #6F23D3 #9051E2 #B185EB #D3BAF3

Accessibility & contrast

On white

4.71
#9051E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#9051E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9051E2
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9051E2#FFFFFF#000000##FFFFFF
##9051E21.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073E6
Deuteranopia (green-blind)
#0072DF
Tritanopia (blue-blind)
#7E7292
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #9051e2;
/* rgb */ color: rgb(144, 81, 226);
/* oklch */ color: oklch(58.1% 0.211 299.8);
Tailwind
colors: {
  custom: {
    50: '#b685ec',
    500: '#9051e2',
    950: '#000000',
  },
}
SCSS
$custom: #9051e2;
$custom-light: #b685ec;
$custom-dark: #000000;
JSON
{
  "hex": "#9051e2",
  "rgb": {
    "r": 144,
    "g": 81,
    "b": 226
  },
  "hsl": {
    "h": 266.069,
    "s": 71.429,
    "l": 60.196
  },
  "oklch": {
    "l": 0.58103,
    "c": 0.2106,
    "h": 299.8
  },
  "luminance": 0.17305
}

Semantic roles & 50–950 ramp

primary
#9051E2
secondary
#CBE3AC
accent
#D3127F
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #9051E2

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

Preview Lab → · Contrast checker → · Palette generator →

#9051E2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva