#9056EF#9056EF

#9056EF is a mid, highly saturated violet. Relative luminance 0.188; OKLCH L 59.7% C 0.219 H 296.6°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#9056EF
RGBrgb(144, 86, 239)
HSLhsl(263, 83%, 64%)
HSVhsv(263, 64%, 94%)
CMYKcmyk(39.7%, 64%, 0%, 6.3%)
CIE-LABlab(50.47, 55.44, -68.59)
CIE-LCHlch(50.47, 88.19, 308.95°)
OKLaboklab(59.71% 0.098 -0.1956)
OKLCHoklch(59.71% 0.219 296.6)
XYZxyz(30.4053, 18.8163, 83.6746)
Luminance0.1882 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9056EF #B5EF56
analogous
#5668EF #9056EF #DC56EF
triadic
#9056EF #EF9056 #56EF90
tetradic
#9056EF #EF5668 #B5EF56 #56EFDC
square
#9056EF #EF5668 #B5EF56 #56EFDC
split-complementary
#9056EF #EFDC56 #68EF56
monochromatic
#5112B9 #6B1EEA #9056EF #B58EF4 #D9C6FA

Accessibility & contrast

On white

4.41
#9056EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#9056EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9056EF
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9056EF#FFFFFF#000000##000000
##9056EF1.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079F4
Deuteranopia (green-blind)
#0076EC
Tritanopia (blue-blind)
#78799B
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #9056ef;
/* rgb */ color: rgb(144, 86, 239);
/* oklch */ color: oklch(59.7% 0.219 296.6);
Tailwind
colors: {
  custom: {
    50: '#b789f5',
    500: '#9056ef',
    950: '#000000',
  },
}
SCSS
$custom: #9056ef;
$custom-light: #b789f5;
$custom-dark: #000000;
JSON
{
  "hex": "#9056ef",
  "rgb": {
    "r": 144,
    "g": 86,
    "b": 239
  },
  "hsl": {
    "h": 262.745,
    "s": 82.703,
    "l": 63.725
  },
  "oklch": {
    "l": 0.59707,
    "c": 0.21879,
    "h": 296.6
  },
  "luminance": 0.18817
}

Semantic roles & 50–950 ramp

primary
#9056EF
secondary
#D7EBB5
accent
#DF068D
background
#FBF8FF
surface
#F7F0FF
border
#D0CBD7
text
#120C17
muted
#817D85

Preview Lab

Preview with #9056EF

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

Preview Lab → · Contrast checker → · Palette generator →

#9056EF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva