#915CD2#915CD2

#915CD2 is a mid, vivid violet. Relative luminance 0.183; OKLCH L 58.7% C 0.177 H 301.9°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#915CD2
RGBrgb(145, 92, 210)
HSLhsl(267, 57%, 59%)
HSVhsv(267, 56%, 82%)
CMYKcmyk(31%, 56.2%, 0%, 17.6%)
CIE-LABlab(49.89, 45.22, -53.11)
CIE-LCHlch(49.89, 69.75, 310.41°)
OKLaboklab(58.71% 0.0936 -0.1501)
OKLCHoklch(58.71% 0.177 301.9)
XYZxyz(27.1344, 18.3271, 63.0682)
Luminance0.1833 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#915CD2 #9DD25C
analogous
#5C62D2 #915CD2 #CC5CD2
triadic
#915CD2 #D2915C #5CD291
tetradic
#915CD2 #D25C62 #9DD25C #5CD2CC
square
#915CD2 #D25C62 #9DD25C #5CD2CC
split-complementary
#915CD2 #D2CC5C #62D25C
monochromatic
#55278D #7134BD #915CD2 #B18CDF #D2BCEC

Accessibility & contrast

On white

4.50
#915CD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.67
#915CD2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #915CD2
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##915CD2#FFFFFF#000000##000000
##915CD21.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2B76D6
Deuteranopia (green-blind)
#3F76CF
Tritanopia (blue-blind)
#84738E
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #915cd2;
/* rgb */ color: rgb(145, 92, 210);
/* oklch */ color: oklch(58.7% 0.177 301.9);
Tailwind
colors: {
  custom: {
    50: '#b58ce0',
    500: '#915cd2',
    950: '#000000',
  },
}
SCSS
$custom: #915cd2;
$custom-light: #b58ce0;
$custom-dark: #000000;
JSON
{
  "hex": "#915cd2",
  "rgb": {
    "r": 145,
    "g": 92,
    "b": 210
  },
  "hsl": {
    "h": 266.949,
    "s": 56.731,
    "l": 59.216
  },
  "oklch": {
    "l": 0.58711,
    "c": 0.1769,
    "h": 301.9
  },
  "luminance": 0.18327
}

Semantic roles & 50–950 ramp

primary
#915CD2
secondary
#C7DCAE
accent
#E0489C
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #915CD2

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

Preview Lab → · Contrast checker → · Palette generator →

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