#9051EA#9051EA

#9051EA is a mid, highly saturated violet. Relative luminance 0.178; OKLCH L 58.7% C 0.220 H 298.2°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#9051EA
RGBrgb(144, 81, 234)
HSLhsl(265, 78%, 62%)
HSVhsv(265, 65%, 92%)
CMYKcmyk(38.5%, 65.4%, 0%, 8.2%)
CIE-LABlab(49.20, 56.71, -67.84)
CIE-LCHlch(49.20, 88.42, 309.89°)
OKLaboklab(58.68% 0.1038 -0.1934)
OKLCHoklch(58.68% 0.22 298.2)
XYZxyz(29.2915, 17.7542, 79.7096)
Luminance0.1776 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9051EA #ABEA51
analogous
#515FEA #9051EA #DD51EA
triadic
#9051EA #EA9051 #51EA90
tetradic
#9051EA #EA515F #ABEA51 #51EADD
square
#9051EA #EA515F #ABEA51 #51EADD
split-complementary
#9051EA #EADD51 #5FEA51
monochromatic
#5315AC #6D1BE2 #9051EA #B388F1 #D6BEF7

Accessibility & contrast

On white

4.61
#9051EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#9051EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #9051EA
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9051EA#FFFFFF#000000##FFFFFF
##9051EA1.004.614.554.61
#FFFFFF4.611.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075EF
Deuteranopia (green-blind)
#0073E7
Tritanopia (blue-blind)
#7B7497
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #9051ea;
/* rgb */ color: rgb(144, 81, 234);
/* oklch */ color: oklch(58.7% 0.220 298.2);
Tailwind
colors: {
  custom: {
    50: '#b786f2',
    500: '#9051ea',
    950: '#000000',
  },
}
SCSS
$custom: #9051ea;
$custom-light: #b786f2;
$custom-dark: #000000;
JSON
{
  "hex": "#9051ea",
  "rgb": {
    "r": 144,
    "g": 81,
    "b": 234
  },
  "hsl": {
    "h": 264.706,
    "s": 78.462,
    "l": 61.765
  },
  "oklch": {
    "l": 0.58678,
    "c": 0.2195,
    "h": 298.2
  },
  "luminance": 0.17755
}

Semantic roles & 50–950 ramp

primary
#9051EA
secondary
#D0E8AF
accent
#DB0B85
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120B17
muted
#817C85

Preview Lab

Preview with #9051EA

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

Preview Lab → · Contrast checker → · Palette generator →

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