#9151E1#9151E1

#9151E1 is a mid, highly saturated violet. Relative luminance 0.173; OKLCH L 58.1% C 0.210 H 300.4°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#9151E1
RGBrgb(145, 81, 225)
HSLhsl(267, 71%, 60%)
HSVhsv(267, 64%, 88%)
CMYKcmyk(35.6%, 64%, 0%, 11.8%)
CIE-LABlab(48.69, 54.69, -63.58)
CIE-LCHlch(48.69, 83.87, 310.70°)
OKLaboklab(58.14% 0.1061 -0.1808)
OKLCHoklch(58.14% 0.21 300.4)
XYZxyz(28.2068, 17.3406, 73.0806)
Luminance0.1734 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9151E1 #A1E151
analogous
#5159E1 #9151E1 #D951E1
triadic
#9151E1 #E19151 #51E191
tetradic
#9151E1 #E15159 #A1E151 #51E1D9
square
#9151E1 #E15159 #A1E151 #51E1D9
split-complementary
#9151E1 #E1D951 #59E151
monochromatic
#551B9D #7124D1 #9151E1 #B285EA #D3B9F3

Accessibility & contrast

On white

4.70
#9151E1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#9151E1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9151E1
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9151E1#FFFFFF#000000##FFFFFF
##9151E11.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073E5
Deuteranopia (green-blind)
#0A73DE
Tritanopia (blue-blind)
#807192
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #9151e1;
/* rgb */ color: rgb(145, 81, 225);
/* oklch */ color: oklch(58.1% 0.210 300.4);
Tailwind
colors: {
  custom: {
    50: '#b685eb',
    500: '#9151e1',
    950: '#000000',
  },
}
SCSS
$custom: #9151e1;
$custom-light: #b685eb;
$custom-dark: #000000;
JSON
{
  "hex": "#9151e1",
  "rgb": {
    "r": 145,
    "g": 81,
    "b": 225
  },
  "hsl": {
    "h": 266.667,
    "s": 70.588,
    "l": 60
  },
  "oklch": {
    "l": 0.58139,
    "c": 0.20964,
    "h": 300.4
  },
  "luminance": 0.17341
}

Semantic roles & 50–950 ramp

primary
#9151E1
secondary
#CAE3AB
accent
#ED3A9E
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #9151E1

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

Preview Lab → · Contrast checker → · Palette generator →

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