#9151DA#9151DA

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

Color values

HEX#9151DA
RGBrgb(145, 81, 218)
HSLhsl(268, 65%, 59%)
HSVhsv(268, 63%, 85%)
CMYKcmyk(33.5%, 62.8%, 0%, 14.5%)
CIE-LABlab(48.22, 52.98, -60.36)
CIE-LCHlch(48.22, 80.32, 311.27°)
OKLaboklab(57.65% 0.1066 -0.1714)
OKLCHoklch(57.65% 0.202 301.9)
XYZxyz(27.2714, 16.9665, 68.1542)
Luminance0.1697 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9151DA #9ADA51
analogous
#5155DA #9151DA #D551DA
triadic
#9151DA #DA9151 #51DA91
tetradic
#9151DA #DA5155 #9ADA51 #51DAD5
square
#9151DA #DA5155 #9ADA51 #51DAD5
split-complementary
#9151DA #DAD551 #55DA51
monochromatic
#551F92 #722AC4 #9151DA #B183E5 #D1B6EF

Accessibility & contrast

On white

4.78
#9151DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#9151DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9151DA
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9151DA#FFFFFF#000000##FFFFFF
##9151DA1.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071DE
Deuteranopia (green-blind)
#2172D7
Tritanopia (blue-blind)
#826F8E
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #9151da;
/* rgb */ color: rgb(145, 81, 218);
/* oklch */ color: oklch(57.7% 0.202 301.9);
Tailwind
colors: {
  custom: {
    50: '#b685e6',
    500: '#9151da',
    950: '#000000',
  },
}
SCSS
$custom: #9151da;
$custom-light: #b685e6;
$custom-dark: #000000;
JSON
{
  "hex": "#9151da",
  "rgb": {
    "r": 145,
    "g": 81,
    "b": 218
  },
  "hsl": {
    "h": 268.029,
    "s": 64.929,
    "l": 58.627
  },
  "oklch": {
    "l": 0.57652,
    "c": 0.20183,
    "h": 301.9
  },
  "luminance": 0.16967
}

Semantic roles & 50–950 ramp

primary
#9151DA
secondary
#C5DEA8
accent
#E84099
background
#FBF8FE
surface
#F6EFFC
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #9151DA

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

Preview Lab → · Contrast checker → · Palette generator →

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