#915CD5#915CD5

#915CD5 is a mid, vivid violet. Relative luminance 0.185; OKLCH L 58.9% C 0.180 H 301.3°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#915CD5
RGBrgb(145, 92, 213)
HSLhsl(266, 59%, 60%)
HSVhsv(266, 57%, 84%)
CMYKcmyk(31.9%, 56.8%, 0%, 16.5%)
CIE-LABlab(50.07, 45.96, -54.53)
CIE-LCHlch(50.07, 71.32, 310.12°)
OKLaboklab(58.9% 0.0937 -0.1543)
OKLCHoklch(58.9% 0.18 301.3)
XYZxyz(27.5116, 18.4780, 65.0551)
Luminance0.1848 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#915CD5 #A0D55C
analogous
#5C64D5 #915CD5 #CD5CD5
triadic
#915CD5 #D5915C #5CD591
tetradic
#915CD5 #D55C64 #A0D55C #5CD5CD
square
#915CD5 #D55C64 #A0D55C #5CD5CD
split-complementary
#915CD5 #D5CD5C #64D55C
monochromatic
#552591 #7132C2 #915CD5 #B28DE2 #D3BDEE

Accessibility & contrast

On white

4.47
#915CD5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#915CD5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #915CD5
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##915CD5#FFFFFF#000000##000000
##915CD51.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2676D9
Deuteranopia (green-blind)
#3B77D2
Tritanopia (blue-blind)
#837490
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #915cd5;
/* rgb */ color: rgb(145, 92, 213);
/* oklch */ color: oklch(58.9% 0.180 301.3);
Tailwind
colors: {
  custom: {
    50: '#b58ce2',
    500: '#915cd5',
    950: '#000000',
  },
}
SCSS
$custom: #915cd5;
$custom-light: #b58ce2;
$custom-dark: #000000;
JSON
{
  "hex": "#915cd5",
  "rgb": {
    "r": 145,
    "g": 92,
    "b": 213
  },
  "hsl": {
    "h": 266.281,
    "s": 59.024,
    "l": 59.804
  },
  "oklch": {
    "l": 0.58901,
    "c": 0.18048,
    "h": 301.3
  },
  "luminance": 0.18478
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #915CD5

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

Preview Lab → · Contrast checker → · Palette generator →

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