#915DD4#915DD4

#915DD4 is a mid, vivid violet. Relative luminance 0.186; OKLCH L 59.0% C 0.178 H 301.3°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#915DD4
RGBrgb(145, 93, 212)
HSLhsl(266, 58%, 60%)
HSVhsv(266, 56%, 83%)
CMYKcmyk(31.6%, 56.1%, 0%, 16.9%)
CIE-LABlab(50.22, 45.17, -53.73)
CIE-LCHlch(50.22, 70.19, 310.05°)
OKLaboklab(58.99% 0.0924 -0.1519)
OKLCHoklch(58.99% 0.178 301.3)
XYZxyz(27.4723, 18.6018, 64.4178)
Luminance0.1860 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#915DD4 #A0D45D
analogous
#5D65D4 #915DD4 #CC5DD4
triadic
#915DD4 #D4915D #5DD491
tetradic
#915DD4 #D45D65 #A0D45D #5DD4CC
square
#915DD4 #D45D65 #A0D45D #5DD4CC
split-complementary
#915DD4 #D4CC5D #65D45D
monochromatic
#552690 #7133C1 #915DD4 #B28DE1 #D3BEEE

Accessibility & contrast

On white

4.45
#915DD4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#915DD4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #915DD4
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##915DD4#FFFFFF#000000##000000
##915DD41.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2A77D8
Deuteranopia (green-blind)
#3E77D1
Tritanopia (blue-blind)
#847590
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #915dd4;
/* rgb */ color: rgb(145, 93, 212);
/* oklch */ color: oklch(59.0% 0.178 301.3);
Tailwind
colors: {
  custom: {
    50: '#b58de2',
    500: '#915dd4',
    950: '#000000',
  },
}
SCSS
$custom: #915dd4;
$custom-light: #b58de2;
$custom-dark: #000000;
JSON
{
  "hex": "#915dd4",
  "rgb": {
    "r": 145,
    "g": 93,
    "b": 212
  },
  "hsl": {
    "h": 266.218,
    "s": 58.049,
    "l": 59.804
  },
  "oklch": {
    "l": 0.5899,
    "c": 0.17781,
    "h": 301.3
  },
  "luminance": 0.18602
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #915DD4

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

Preview Lab → · Contrast checker → · Palette generator →

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