#915DD5#915DD5

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

Color values

HEX#915DD5
RGBrgb(145, 93, 213)
HSLhsl(266, 59%, 60%)
HSVhsv(266, 56%, 84%)
CMYKcmyk(31.9%, 56.3%, 0%, 16.5%)
CIE-LABlab(50.28, 45.41, -54.20)
CIE-LCHlch(50.28, 70.71, 309.96°)
OKLaboklab(59.05% 0.0924 -0.1533)
OKLCHoklch(59.05% 0.179 301.1)
XYZxyz(27.5988, 18.6524, 65.0842)
Luminance0.1865 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#915DD5 #A1D55D
analogous
#5D65D5 #915DD5 #CD5DD5
triadic
#915DD5 #D5915D #5DD591
tetradic
#915DD5 #D55D65 #A1D55D #5DD5CD
square
#915DD5 #D55D65 #A1D55D #5DD5CD
split-complementary
#915DD5 #D5CD5D #65D55D
monochromatic
#552692 #7132C2 #915DD5 #B28EE2 #D3BEEE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##915DD5#FFFFFF#000000##000000
##915DD51.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)
#2977D9
Deuteranopia (green-blind)
#3D77D2
Tritanopia (blue-blind)
#837590
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #915dd5;
/* rgb */ color: rgb(145, 93, 213);
/* oklch */ color: oklch(59.1% 0.179 301.1);
Tailwind
colors: {
  custom: {
    50: '#b58de2',
    500: '#915dd5',
    950: '#000000',
  },
}
SCSS
$custom: #915dd5;
$custom-light: #b58de2;
$custom-dark: #000000;
JSON
{
  "hex": "#915dd5",
  "rgb": {
    "r": 145,
    "g": 93,
    "b": 213
  },
  "hsl": {
    "h": 266,
    "s": 58.824,
    "l": 60
  },
  "oklch": {
    "l": 0.59053,
    "c": 0.179,
    "h": 301.1
  },
  "luminance": 0.18653
}

Semantic roles & 50–950 ramp

primary
#915DD5
secondary
#CADEB0
accent
#E2469E
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #915DD5

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

Preview Lab → · Contrast checker → · Palette generator →

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