#9151DD#9151DD

#9151DD is a mid, highly saturated violet. Relative luminance 0.171; OKLCH L 57.9% C 0.205 H 301.2°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#9151DD
RGBrgb(145, 81, 221)
HSLhsl(267, 67%, 59%)
HSVhsv(267, 63%, 87%)
CMYKcmyk(34.4%, 63.3%, 0%, 13.3%)
CIE-LABlab(48.42, 53.71, -61.75)
CIE-LCHlch(48.42, 81.84, 311.02°)
OKLaboklab(57.86% 0.1064 -0.1754)
OKLCHoklch(57.86% 0.205 301.2)
XYZxyz(27.6675, 17.1249, 70.2404)
Luminance0.1713 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9151DD #9DDD51
analogous
#5157DD #9151DD #D751DD
triadic
#9151DD #DD9151 #51DD91
tetradic
#9151DD #DD5157 #9DDD51 #51DDD7
square
#9151DD #DD5157 #9DDD51 #51DDD7
split-complementary
#9151DD #DDD751 #57DD51
monochromatic
#551D96 #7127C9 #9151DD #B184E7 #D2B7F1

Accessibility & contrast

On white

4.75
#9151DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#9151DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9151DD
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9151DD#FFFFFF#000000##FFFFFF
##9151DD1.004.754.434.75
#FFFFFF4.751.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072E1
Deuteranopia (green-blind)
#1972DA
Tritanopia (blue-blind)
#817090
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #9151dd;
/* rgb */ color: rgb(145, 81, 221);
/* oklch */ color: oklch(57.9% 0.205 301.2);
Tailwind
colors: {
  custom: {
    50: '#b685e8',
    500: '#9151dd',
    950: '#000000',
  },
}
SCSS
$custom: #9151dd;
$custom-light: #b685e8;
$custom-dark: #000000;
JSON
{
  "hex": "#9151dd",
  "rgb": {
    "r": 145,
    "g": 81,
    "b": 221
  },
  "hsl": {
    "h": 267.429,
    "s": 67.308,
    "l": 59.216
  },
  "oklch": {
    "l": 0.57859,
    "c": 0.20518,
    "h": 301.2
  },
  "luminance": 0.17125
}

Semantic roles & 50–950 ramp

primary
#9151DD
secondary
#C7E0AA
accent
#EA3E9B
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #9151DD

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

Preview Lab → · Contrast checker → · Palette generator →

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