#9151D3#9151D3

#9151D3 is a mid, vivid violet. Relative luminance 0.166; OKLCH L 57.2% C 0.194 H 303.5°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#9151D3
RGBrgb(145, 81, 211)
HSLhsl(270, 60%, 57%)
HSVhsv(270, 62%, 83%)
CMYKcmyk(31.3%, 61.6%, 0%, 17.3%)
CIE-LABlab(47.76, 51.29, -57.10)
CIE-LCHlch(47.76, 76.76, 311.93°)
OKLaboklab(57.18% 0.107 -0.1618)
OKLCHoklch(57.18% 0.194 303.5)
XYZxyz(26.3747, 16.6078, 63.4315)
Luminance0.1661 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9151D3 #93D351
analogous
#5152D3 #9151D3 #D251D3
triadic
#9151D3 #D39151 #51D391
tetradic
#9151D3 #D35152 #93D351 #51D3D2
square
#9151D3 #D35152 #93D351 #51D3D2
split-complementary
#9151D3 #D3D251 #52D351
monochromatic
#542287 #722FB8 #9151D3 #B082DF #CFB3EC

Accessibility & contrast

On white

4.86
#9151D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#9151D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9151D3
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9151D3#FFFFFF#000000##FFFFFF
##9151D31.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070D7
Deuteranopia (green-blind)
#2D71D0
Tritanopia (blue-blind)
#856C8B
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #9151d3;
/* rgb */ color: rgb(145, 81, 211);
/* oklch */ color: oklch(57.2% 0.194 303.5);
Tailwind
colors: {
  custom: {
    50: '#b585e1',
    500: '#9151d3',
    950: '#000000',
  },
}
SCSS
$custom: #9151d3;
$custom-light: #b585e1;
$custom-dark: #000000;
JSON
{
  "hex": "#9151d3",
  "rgb": {
    "r": 145,
    "g": 81,
    "b": 211
  },
  "hsl": {
    "h": 269.538,
    "s": 59.633,
    "l": 57.255
  },
  "oklch": {
    "l": 0.57176,
    "c": 0.19398,
    "h": 303.5
  },
  "luminance": 0.16608
}

Semantic roles & 50–950 ramp

primary
#9151D3
secondary
#C0DAA6
accent
#E34595
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #9151D3

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

Preview Lab → · Contrast checker → · Palette generator →

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