#9051D7#9051D7

#9051D7 is a mid, vivid violet. Relative luminance 0.167; OKLCH L 57.3% C 0.198 H 302.1°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#9051D7
RGBrgb(144, 81, 215)
HSLhsl(268, 63%, 58%)
HSVhsv(268, 62%, 84%)
CMYKcmyk(33%, 62.3%, 0%, 15.7%)
CIE-LABlab(47.91, 52.03, -59.16)
CIE-LCHlch(47.91, 78.79, 311.33°)
OKLaboklab(57.34% 0.1055 -0.1679)
OKLCHoklch(57.34% 0.198 302.1)
XYZxyz(26.7069, 16.7204, 66.0972)
Luminance0.1672 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9051D7 #98D751
analogous
#5155D7 #9051D7 #D351D7
triadic
#9051D7 #D79051 #51D790
tetradic
#9051D7 #D75155 #98D751 #51D7D3
square
#9051D7 #D75155 #98D751 #51D7D3
split-complementary
#9051D7 #D7D351 #55D751
monochromatic
#54208D #712CBF #9051D7 #B083E2 #CFB5EE

Accessibility & contrast

On white

4.83
#9051D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#9051D7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9051D7
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9051D7#FFFFFF#000000##FFFFFF
##9051D71.004.834.344.83
#FFFFFF4.831.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071DB
Deuteranopia (green-blind)
#2571D4
Tritanopia (blue-blind)
#826E8D
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #9051d7;
/* rgb */ color: rgb(144, 81, 215);
/* oklch */ color: oklch(57.3% 0.198 302.1);
Tailwind
colors: {
  custom: {
    50: '#b585e4',
    500: '#9051d7',
    950: '#000000',
  },
}
SCSS
$custom: #9051d7;
$custom-light: #b585e4;
$custom-dark: #000000;
JSON
{
  "hex": "#9051d7",
  "rgb": {
    "r": 144,
    "g": 81,
    "b": 215
  },
  "hsl": {
    "h": 268.209,
    "s": 62.617,
    "l": 58.039
  },
  "oklch": {
    "l": 0.57337,
    "c": 0.19826,
    "h": 302.1
  },
  "luminance": 0.1672
}

Semantic roles & 50–950 ramp

primary
#9051D7
secondary
#C3DDA7
accent
#E64299
background
#FBF8FE
surface
#F6EFFC
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #9051D7

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

Preview Lab → · Contrast checker → · Palette generator →

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