#9151E0#9151E0

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

Color values

HEX#9151E0
RGBrgb(145, 81, 224)
HSLhsl(267, 70%, 60%)
HSVhsv(267, 64%, 88%)
CMYKcmyk(35.3%, 63.8%, 0%, 12.2%)
CIE-LABlab(48.62, 54.44, -63.12)
CIE-LCHlch(48.62, 83.36, 310.78°)
OKLaboklab(58.07% 0.1062 -0.1795)
OKLCHoklch(58.07% 0.209 300.6)
XYZxyz(28.0708, 17.2862, 72.3642)
Luminance0.1729 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9151E0 #A0E051
analogous
#5159E0 #9151E0 #D851E0
triadic
#9151E0 #E09151 #51E091
tetradic
#9151E0 #E05159 #A0E051 #51E0D8
square
#9151E0 #E05159 #A0E051 #51E0D8
split-complementary
#9151E0 #E0D851 #59E051
monochromatic
#551C9B #7125CF #9151E0 #B285E9 #D3B9F3

Accessibility & contrast

On white

4.71
#9151E0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#9151E0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9151E0
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9151E0#FFFFFF#000000##FFFFFF
##9151E01.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073E4
Deuteranopia (green-blind)
#0F73DD
Tritanopia (blue-blind)
#807191
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #9151e0;
/* rgb */ color: rgb(145, 81, 224);
/* oklch */ color: oklch(58.1% 0.209 300.6);
Tailwind
colors: {
  custom: {
    50: '#b685ea',
    500: '#9151e0',
    950: '#000000',
  },
}
SCSS
$custom: #9151e0;
$custom-light: #b685ea;
$custom-dark: #000000;
JSON
{
  "hex": "#9151e0",
  "rgb": {
    "r": 145,
    "g": 81,
    "b": 224
  },
  "hsl": {
    "h": 266.853,
    "s": 69.756,
    "l": 59.804
  },
  "oklch": {
    "l": 0.58069,
    "c": 0.20853,
    "h": 300.6
  },
  "luminance": 0.17286
}

Semantic roles & 50–950 ramp

primary
#9151E0
secondary
#C9E2AB
accent
#ED3B9D
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #9151E0

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

Preview Lab → · Contrast checker → · Palette generator →

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