#915CD8#915CD8

#915CD8 is a mid, vivid violet. Relative luminance 0.186; OKLCH L 59.1% C 0.184 H 300.6°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#915CD8
RGBrgb(145, 92, 216)
HSLhsl(266, 61%, 60%)
HSVhsv(266, 57%, 85%)
CMYKcmyk(32.9%, 57.4%, 0%, 15.3%)
CIE-LABlab(50.25, 46.70, -55.95)
CIE-LCHlch(50.25, 72.88, 309.85°)
OKLaboklab(59.09% 0.0937 -0.1584)
OKLCHoklch(59.09% 0.184 300.6)
XYZxyz(27.8959, 18.6317, 67.0791)
Luminance0.1863 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#915CD8 #A3D85C
analogous
#5C65D8 #915CD8 #CF5CD8
triadic
#915CD8 #D8915C #5CD891
tetradic
#915CD8 #D85C65 #A3D85C #5CD8CF
square
#915CD8 #D85C65 #A3D85C #5CD8CF
split-complementary
#915CD8 #D8CF5C #65D85C
monochromatic
#552496 #7030C7 #915CD8 #B28DE4 #D4BFF0

Accessibility & contrast

On white

4.44
#915CD8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#915CD8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #915CD8
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##915CD8#FFFFFF#000000##000000
##915CD81.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2177DC
Deuteranopia (green-blind)
#3877D5
Tritanopia (blue-blind)
#827591
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #915cd8;
/* rgb */ color: rgb(145, 92, 216);
/* oklch */ color: oklch(59.1% 0.184 300.6);
Tailwind
colors: {
  custom: {
    50: '#b58ce5',
    500: '#915cd8',
    950: '#000000',
  },
}
SCSS
$custom: #915cd8;
$custom-light: #b58ce5;
$custom-dark: #000000;
JSON
{
  "hex": "#915cd8",
  "rgb": {
    "r": 145,
    "g": 92,
    "b": 216
  },
  "hsl": {
    "h": 265.645,
    "s": 61.386,
    "l": 60.392
  },
  "oklch": {
    "l": 0.59094,
    "c": 0.18405,
    "h": 300.6
  },
  "luminance": 0.18632
}

Semantic roles & 50–950 ramp

primary
#915CD8
secondary
#CBE0B0
accent
#C91C7F
background
#FBF8FE
surface
#F6F0FC
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #915CD8

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

Preview Lab → · Contrast checker → · Palette generator →

#915CD8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva