#9051DF#9051DF

#9051DF is a mid, highly saturated violet. Relative luminance 0.171; OKLCH L 57.9% C 0.207 H 300.4°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#9051DF
RGBrgb(144, 81, 223)
HSLhsl(267, 69%, 60%)
HSVhsv(267, 64%, 87%)
CMYKcmyk(35.4%, 63.7%, 0%, 12.5%)
CIE-LABlab(48.44, 53.99, -62.85)
CIE-LCHlch(48.44, 82.86, 310.66°)
OKLaboklab(57.89% 0.1049 -0.1787)
OKLCHoklch(57.89% 0.207 300.4)
XYZxyz(27.7601, 17.1417, 71.6439)
Luminance0.1714 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9051DF #A0DF51
analogous
#5159DF #9051DF #D751DF
triadic
#9051DF #DF9051 #51DF90
tetradic
#9051DF #DF5159 #A0DF51 #51DFD7
square
#9051DF #DF5159 #A0DF51 #51DFD7
split-complementary
#9051DF #DFD751 #59DF51
monochromatic
#541C99 #7026CD #9051DF #B185E9 #D2B8F2

Accessibility & contrast

On white

4.74
#9051DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#9051DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9051DF
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9051DF#FFFFFF#000000##FFFFFF
##9051DF1.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072E3
Deuteranopia (green-blind)
#1072DC
Tritanopia (blue-blind)
#7F7191
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #9051df;
/* rgb */ color: rgb(144, 81, 223);
/* oklch */ color: oklch(57.9% 0.207 300.4);
Tailwind
colors: {
  custom: {
    50: '#b685ea',
    500: '#9051df',
    950: '#000000',
  },
}
SCSS
$custom: #9051df;
$custom-light: #b685ea;
$custom-dark: #000000;
JSON
{
  "hex": "#9051df",
  "rgb": {
    "r": 144,
    "g": 81,
    "b": 223
  },
  "hsl": {
    "h": 266.62,
    "s": 68.932,
    "l": 59.608
  },
  "oklch": {
    "l": 0.57891,
    "c": 0.20725,
    "h": 300.4
  },
  "luminance": 0.17142
}

Semantic roles & 50–950 ramp

primary
#9051DF
secondary
#C9E1AA
accent
#EC3C9E
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #9051DF

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

Preview Lab → · Contrast checker → · Palette generator →

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