#9051DC#9051DC

#9051DC is a mid, highly saturated violet. Relative luminance 0.170; OKLCH L 57.7% C 0.204 H 301.0°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#9051DC
RGBrgb(144, 81, 220)
HSLhsl(267, 67%, 59%)
HSVhsv(267, 63%, 86%)
CMYKcmyk(34.5%, 63.2%, 0%, 13.7%)
CIE-LABlab(48.24, 53.25, -61.48)
CIE-LCHlch(48.24, 81.33, 310.90°)
OKLaboklab(57.68% 0.1052 -0.1747)
OKLCHoklch(57.68% 0.204 301)
XYZxyz(27.3592, 16.9813, 69.5326)
Luminance0.1698 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9051DC #9DDC51
analogous
#5158DC #9051DC #D551DC
triadic
#9051DC #DC9051 #51DC90
tetradic
#9051DC #DC5158 #9DDC51 #51DCD5
square
#9051DC #DC5158 #9DDC51 #51DCD5
split-complementary
#9051DC #DCD551 #58DC51
monochromatic
#541E95 #7028C8 #9051DC #B184E6 #D1B7F0

Accessibility & contrast

On white

4.78
#9051DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#9051DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9051DC
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9051DC#FFFFFF#000000##FFFFFF
##9051DC1.004.784.404.78
#FFFFFF4.781.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072E0
Deuteranopia (green-blind)
#1A72D9
Tritanopia (blue-blind)
#806F8F
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #9051dc;
/* rgb */ color: rgb(144, 81, 220);
/* oklch */ color: oklch(57.7% 0.204 301.0);
Tailwind
colors: {
  custom: {
    50: '#b585e8',
    500: '#9051dc',
    950: '#000000',
  },
}
SCSS
$custom: #9051dc;
$custom-light: #b585e8;
$custom-dark: #000000;
JSON
{
  "hex": "#9051dc",
  "rgb": {
    "r": 144,
    "g": 81,
    "b": 220
  },
  "hsl": {
    "h": 267.194,
    "s": 66.507,
    "l": 59.02
  },
  "oklch": {
    "l": 0.57682,
    "c": 0.20389,
    "h": 301
  },
  "luminance": 0.16981
}

Semantic roles & 50–950 ramp

primary
#9051DC
secondary
#C7E0A9
accent
#E93E9C
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #9051DC

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

Preview Lab → · Contrast checker → · Palette generator →

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