#9057EB#9057EB

#9057EB is a mid, highly saturated violet. Relative luminance 0.187; OKLCH L 59.6% C 0.213 H 297.2°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#9057EB
RGBrgb(144, 87, 235)
HSLhsl(263, 79%, 63%)
HSVhsv(263, 63%, 92%)
CMYKcmyk(38.7%, 63%, 0%, 7.8%)
CIE-LABlab(50.39, 53.91, -66.48)
CIE-LCHlch(50.39, 85.59, 309.04°)
OKLaboklab(59.56% 0.0973 -0.1894)
OKLCHoklch(59.56% 0.213 297.2)
XYZxyz(29.9013, 18.7433, 80.6236)
Luminance0.1874 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9057EB #B2EB57
analogous
#5768EB #9057EB #DA57EB
triadic
#9057EB #EB9057 #57EB90
tetradic
#9057EB #EB5768 #B2EB57 #57EBDA
square
#9057EB #EB5768 #B2EB57 #57EBDA
split-complementary
#9057EB #EBDA57 #68EB57
monochromatic
#5215B2 #6C20E4 #9057EB #B48EF2 #D8C4F8

Accessibility & contrast

On white

4.42
#9057EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#9057EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9057EB
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9057EB#FFFFFF#000000##000000
##9057EB1.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078F0
Deuteranopia (green-blind)
#0076E8
Tritanopia (blue-blind)
#7A7899
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #9057eb;
/* rgb */ color: rgb(144, 87, 235);
/* oklch */ color: oklch(59.6% 0.213 297.2);
Tailwind
colors: {
  custom: {
    50: '#b689f2',
    500: '#9057eb',
    950: '#000000',
  },
}
SCSS
$custom: #9057eb;
$custom-light: #b689f2;
$custom-dark: #000000;
JSON
{
  "hex": "#9057eb",
  "rgb": {
    "r": 144,
    "g": 87,
    "b": 235
  },
  "hsl": {
    "h": 263.108,
    "s": 78.723,
    "l": 63.137
  },
  "oklch": {
    "l": 0.59557,
    "c": 0.21295,
    "h": 297.2
  },
  "luminance": 0.18744
}

Semantic roles & 50–950 ramp

primary
#9057EB
secondary
#D5E9B4
accent
#DB0A8B
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #9057EB

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

Preview Lab → · Contrast checker → · Palette generator →

#9057EB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva