#9151D0#9151D0

#9151D0 is a mid, vivid violet. Relative luminance 0.165; OKLCH L 57.0% C 0.191 H 304.2°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#9151D0
RGBrgb(145, 81, 208)
HSLhsl(270, 57%, 57%)
HSVhsv(270, 61%, 82%)
CMYKcmyk(30.3%, 61.1%, 0%, 18.4%)
CIE-LABlab(47.57, 50.57, -55.69)
CIE-LCHlch(47.57, 75.23, 312.24°)
OKLaboklab(56.98% 0.1071 -0.1577)
OKLCHoklch(56.98% 0.191 304.2)
XYZxyz(26.0021, 16.4588, 61.4693)
Luminance0.1646 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9151D0 #90D051
analogous
#5251D0 #9151D0 #D051D0
triadic
#9151D0 #D09151 #51D091
tetradic
#9151D0 #D05251 #90D051 #51D0D0
square
#9151D0 #D05251 #90D051 #51D0D0
split-complementary
#9151D0 #D0D051 #51D052
monochromatic
#542383 #7230B3 #9151D0 #AF81DD #CEB1EA

Accessibility & contrast

On white

4.89
#9151D0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#9151D0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9151D0
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9151D0#FFFFFF#000000##FFFFFF
##9151D01.004.894.294.89
#FFFFFF4.891.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#026FD4
Deuteranopia (green-blind)
#3171CD
Tritanopia (blue-blind)
#856B89
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #9151d0;
/* rgb */ color: rgb(145, 81, 208);
/* oklch */ color: oklch(57.0% 0.191 304.2);
Tailwind
colors: {
  custom: {
    50: '#b585df',
    500: '#9151d0',
    950: '#000000',
  },
}
SCSS
$custom: #9151d0;
$custom-light: #b585df;
$custom-dark: #000000;
JSON
{
  "hex": "#9151d0",
  "rgb": {
    "r": 145,
    "g": 81,
    "b": 208
  },
  "hsl": {
    "h": 270.236,
    "s": 57.466,
    "l": 56.667
  },
  "oklch": {
    "l": 0.56976,
    "c": 0.19061,
    "h": 304.2
  },
  "luminance": 0.16459
}

Semantic roles & 50–950 ramp

primary
#9151D0
secondary
#BED8A4
accent
#E14793
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #9151D0

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

Preview Lab → · Contrast checker → · Palette generator →

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