#915CD4#915CD4

#915CD4 is a mid, vivid violet. Relative luminance 0.184; OKLCH L 58.8% C 0.179 H 301.5°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#915CD4
RGBrgb(145, 92, 212)
HSLhsl(267, 58%, 60%)
HSVhsv(267, 57%, 83%)
CMYKcmyk(31.6%, 56.6%, 0%, 16.9%)
CIE-LABlab(50.01, 45.71, -54.06)
CIE-LCHlch(50.01, 70.80, 310.22°)
OKLaboklab(58.84% 0.0936 -0.1529)
OKLCHoklch(58.84% 0.179 301.5)
XYZxyz(27.3851, 18.4274, 64.3887)
Luminance0.1843 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#915CD4 #9FD45C
analogous
#5C63D4 #915CD4 #CD5CD4
triadic
#915CD4 #D4915C #5CD491
tetradic
#915CD4 #D45C63 #9FD45C #5CD4CD
square
#915CD4 #D45C63 #9FD45C #5CD4CD
split-complementary
#915CD4 #D4CD5C #63D45C
monochromatic
#552690 #7133C0 #915CD4 #B28CE1 #D2BDEE

Accessibility & contrast

On white

4.48
#915CD4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#915CD4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #915CD4
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##915CD4#FFFFFF#000000##000000
##915CD41.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#2876D8
Deuteranopia (green-blind)
#3D76D1
Tritanopia (blue-blind)
#84748F
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #915cd4;
/* rgb */ color: rgb(145, 92, 212);
/* oklch */ color: oklch(58.8% 0.179 301.5);
Tailwind
colors: {
  custom: {
    50: '#b58ce2',
    500: '#915cd4',
    950: '#000000',
  },
}
SCSS
$custom: #915cd4;
$custom-light: #b58ce2;
$custom-dark: #000000;
JSON
{
  "hex": "#915cd4",
  "rgb": {
    "r": 145,
    "g": 92,
    "b": 212
  },
  "hsl": {
    "h": 266.5,
    "s": 58.252,
    "l": 59.608
  },
  "oklch": {
    "l": 0.58837,
    "c": 0.17929,
    "h": 301.5
  },
  "luminance": 0.18428
}

Semantic roles & 50–950 ramp

primary
#915CD4
secondary
#C9DDAF
accent
#E1469D
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #915CD4

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

Preview Lab → · Contrast checker → · Palette generator →

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