#9056DC#9056DC

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

Color values

HEX#9056DC
RGBrgb(144, 86, 220)
HSLhsl(266, 66%, 60%)
HSVhsv(266, 61%, 86%)
CMYKcmyk(34.5%, 60.9%, 0%, 13.7%)
CIE-LABlab(49.19, 50.67, -59.93)
CIE-LCHlch(49.19, 78.48, 310.21°)
OKLaboklab(58.38% 0.0994 -0.1701)
OKLCHoklch(58.38% 0.197 300.3)
XYZxyz(27.7445, 17.7520, 69.6610)
Luminance0.1775 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9056DC #A2DC56
analogous
#565FDC #9056DC #D356DC
triadic
#9056DC #DC9056 #56DC90
tetradic
#9056DC #DC565F #A2DC56 #56DCD3
square
#9056DC #DC565F #A2DC56 #56DCD3
split-complementary
#9056DC #DCD356 #5FDC56
monochromatic
#542098 #702ACB #9056DC #B189E6 #D3BBF1

Accessibility & contrast

On white

4.61
#9056DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#9056DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #9056DC
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9056DC#FFFFFF#000000##FFFFFF
##9056DC1.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)
#0074E0
Deuteranopia (green-blind)
#2674D9
Tritanopia (blue-blind)
#807391
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #9056dc;
/* rgb */ color: rgb(144, 86, 220);
/* oklch */ color: oklch(58.4% 0.197 300.3);
Tailwind
colors: {
  custom: {
    50: '#b588e8',
    500: '#9056dc',
    950: '#000000',
  },
}
SCSS
$custom: #9056dc;
$custom-light: #b588e8;
$custom-dark: #000000;
JSON
{
  "hex": "#9056dc",
  "rgb": {
    "r": 144,
    "g": 86,
    "b": 220
  },
  "hsl": {
    "h": 265.97,
    "s": 65.686,
    "l": 60
  },
  "oklch": {
    "l": 0.58376,
    "c": 0.19708,
    "h": 300.3
  },
  "luminance": 0.17752
}

Semantic roles & 50–950 ramp

primary
#9056DC
secondary
#CAE1AD
accent
#E93F9F
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #9056DC

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

Preview Lab → · Contrast checker → · Palette generator →

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