#9056DD#9056DD

#9056DD is a mid, vivid violet. Relative luminance 0.178; OKLCH L 58.4% C 0.198 H 300.1°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#9056DD
RGBrgb(144, 86, 221)
HSLhsl(266, 67%, 60%)
HSVhsv(266, 61%, 87%)
CMYKcmyk(34.8%, 61.1%, 0%, 13.3%)
CIE-LABlab(49.26, 50.92, -60.39)
CIE-LCHlch(49.26, 78.99, 310.13°)
OKLaboklab(58.44% 0.0994 -0.1715)
OKLCHoklch(58.44% 0.198 300.1)
XYZxyz(27.8774, 17.8051, 70.3606)
Luminance0.1781 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9056DD #A3DD56
analogous
#565FDD #9056DD #D456DD
triadic
#9056DD #DD9056 #56DD90
tetradic
#9056DD #DD565F #A3DD56 #56DDD4
square
#9056DD #DD565F #A3DD56 #56DDD4
split-complementary
#9056DD #DDD456 #5FDD56
monochromatic
#541F9A #6F29CD #9056DD #B189E7 #D3BCF2

Accessibility & contrast

On white

4.60
#9056DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#9056DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #9056DD
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9056DD#FFFFFF#000000##FFFFFF
##9056DD1.004.604.564.60
#FFFFFF4.601.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075E1
Deuteranopia (green-blind)
#2474DA
Tritanopia (blue-blind)
#7F7392
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #9056dd;
/* rgb */ color: rgb(144, 86, 221);
/* oklch */ color: oklch(58.4% 0.198 300.1);
Tailwind
colors: {
  custom: {
    50: '#b588e8',
    500: '#9056dd',
    950: '#000000',
  },
}
SCSS
$custom: #9056dd;
$custom-light: #b588e8;
$custom-dark: #000000;
JSON
{
  "hex": "#9056dd",
  "rgb": {
    "r": 144,
    "g": 86,
    "b": 221
  },
  "hsl": {
    "h": 265.778,
    "s": 66.502,
    "l": 60.196
  },
  "oklch": {
    "l": 0.58444,
    "c": 0.19823,
    "h": 300.1
  },
  "luminance": 0.17805
}

Semantic roles & 50–950 ramp

primary
#9056DD
secondary
#CBE1AE
accent
#CE1780
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #9056DD

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

Preview Lab → · Contrast checker → · Palette generator →

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