#9151D9#9151D9

#9151D9 is a mid, highly saturated violet. Relative luminance 0.169; OKLCH L 57.6% C 0.201 H 302.1°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#9151D9
RGBrgb(145, 81, 217)
HSLhsl(268, 64%, 58%)
HSVhsv(268, 63%, 85%)
CMYKcmyk(33.2%, 62.7%, 0%, 14.9%)
CIE-LABlab(48.15, 52.74, -59.90)
CIE-LCHlch(48.15, 79.81, 311.36°)
OKLaboklab(57.58% 0.1067 -0.17)
OKLCHoklch(57.58% 0.201 302.1)
XYZxyz(27.1409, 16.9143, 67.4671)
Luminance0.1691 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9151D9 #99D951
analogous
#5155D9 #9151D9 #D551D9
triadic
#9151D9 #D99151 #51D991
tetradic
#9151D9 #D95155 #99D951 #51D9D5
square
#9151D9 #D95155 #99D951 #51D9D5
split-complementary
#9151D9 #D9D551 #55D951
monochromatic
#541F90 #722AC2 #9151D9 #B183E4 #D1B5EF

Accessibility & contrast

On white

4.79
#9151D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#9151D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9151D9
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9151D9#FFFFFF#000000##FFFFFF
##9151D91.004.794.384.79
#FFFFFF4.791.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071DD
Deuteranopia (green-blind)
#2372D6
Tritanopia (blue-blind)
#836E8E
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #9151d9;
/* rgb */ color: rgb(145, 81, 217);
/* oklch */ color: oklch(57.6% 0.201 302.1);
Tailwind
colors: {
  custom: {
    50: '#b685e5',
    500: '#9151d9',
    950: '#000000',
  },
}
SCSS
$custom: #9151d9;
$custom-light: #b685e5;
$custom-dark: #000000;
JSON
{
  "hex": "#9151d9",
  "rgb": {
    "r": 145,
    "g": 81,
    "b": 217
  },
  "hsl": {
    "h": 268.235,
    "s": 64.151,
    "l": 58.431
  },
  "oklch": {
    "l": 0.57583,
    "c": 0.20071,
    "h": 302.1
  },
  "luminance": 0.16914
}

Semantic roles & 50–950 ramp

primary
#9151D9
secondary
#C4DEA8
accent
#E74199
background
#FBF8FE
surface
#F6EFFC
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #9151D9

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

Preview Lab → · Contrast checker → · Palette generator →

#9151D9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva