#915CD6#915CD6

#915CD6 is a mid, vivid violet. Relative luminance 0.185; OKLCH L 59.0% C 0.182 H 301.0°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#915CD6
RGBrgb(145, 92, 214)
HSLhsl(266, 60%, 60%)
HSVhsv(266, 57%, 84%)
CMYKcmyk(32.2%, 57%, 0%, 16.1%)
CIE-LABlab(50.13, 46.21, -55.01)
CIE-LCHlch(50.13, 71.84, 310.03°)
OKLaboklab(58.97% 0.0937 -0.1557)
OKLCHoklch(58.97% 0.182 301)
XYZxyz(27.6389, 18.5289, 65.7256)
Luminance0.1853 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#915CD6 #A1D65C
analogous
#5C64D6 #915CD6 #CE5CD6
triadic
#915CD6 #D6915C #5CD691
tetradic
#915CD6 #D65C64 #A1D65C #5CD6CE
square
#915CD6 #D65C64 #A1D65C #5CD6CE
split-complementary
#915CD6 #D6CE5C #64D65C
monochromatic
#552593 #7131C4 #915CD6 #B28DE2 #D3BEEF

Accessibility & contrast

On white

4.46
#915CD6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#915CD6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #915CD6
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##915CD6#FFFFFF#000000##000000
##915CD61.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2477DA
Deuteranopia (green-blind)
#3A77D3
Tritanopia (blue-blind)
#837590
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #915cd6;
/* rgb */ color: rgb(145, 92, 214);
/* oklch */ color: oklch(59.0% 0.182 301.0);
Tailwind
colors: {
  custom: {
    50: '#b58ce3',
    500: '#915cd6',
    950: '#000000',
  },
}
SCSS
$custom: #915cd6;
$custom-light: #b58ce3;
$custom-dark: #000000;
JSON
{
  "hex": "#915cd6",
  "rgb": {
    "r": 145,
    "g": 92,
    "b": 214
  },
  "hsl": {
    "h": 266.066,
    "s": 59.804,
    "l": 60
  },
  "oklch": {
    "l": 0.58965,
    "c": 0.18167,
    "h": 301
  },
  "luminance": 0.18529
}

Semantic roles & 50–950 ramp

primary
#915CD6
secondary
#CADEAF
accent
#E3459E
background
#FBF8FE
surface
#F6F0FC
border
#D0CBD5
text
#120C15
muted
#817D84

Preview Lab

Preview with #915CD6

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

Preview Lab → · Contrast checker → · Palette generator →

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