#915CD9#915CD9

#915CD9 is a mid, vivid violet. Relative luminance 0.187; OKLCH L 59.2% C 0.185 H 300.4°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#915CD9
RGBrgb(145, 92, 217)
HSLhsl(265, 62%, 61%)
HSVhsv(265, 58%, 85%)
CMYKcmyk(33.2%, 57.6%, 0%, 14.9%)
CIE-LABlab(50.31, 46.95, -56.42)
CIE-LCHlch(50.31, 73.40, 309.77°)
OKLaboklab(59.16% 0.0937 -0.1598)
OKLCHoklch(59.16% 0.185 300.4)
XYZxyz(28.0256, 18.6836, 67.7620)
Luminance0.1868 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#915CD9 #A4D95C
analogous
#5C65D9 #915CD9 #CF5CD9
triadic
#915CD9 #D9915C #5CD991
tetradic
#915CD9 #D95C65 #A4D95C #5CD9CF
square
#915CD9 #D95C65 #A4D95C #5CD9CF
split-complementary
#915CD9 #D9CF5C #65D95C
monochromatic
#542397 #702FC9 #915CD9 #B28EE5 #D4BFF0

Accessibility & contrast

On white

4.43
#915CD9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#915CD9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #915CD9
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##915CD9#FFFFFF#000000##000000
##915CD91.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#1F77DD
Deuteranopia (green-blind)
#3777D6
Tritanopia (blue-blind)
#827692
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #915cd9;
/* rgb */ color: rgb(145, 92, 217);
/* oklch */ color: oklch(59.2% 0.185 300.4);
Tailwind
colors: {
  custom: {
    50: '#b58ce5',
    500: '#915cd9',
    950: '#000000',
  },
}
SCSS
$custom: #915cd9;
$custom-light: #b58ce5;
$custom-dark: #000000;
JSON
{
  "hex": "#915cd9",
  "rgb": {
    "r": 145,
    "g": 92,
    "b": 217
  },
  "hsl": {
    "h": 265.44,
    "s": 62.189,
    "l": 60.588
  },
  "oklch": {
    "l": 0.59158,
    "c": 0.18523,
    "h": 300.4
  },
  "luminance": 0.18684
}

Semantic roles & 50–950 ramp

primary
#915CD9
secondary
#CCE0B1
accent
#CA1C80
background
#FBF8FE
surface
#F6F0FC
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #915CD9

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

Preview Lab → · Contrast checker → · Palette generator →

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