#915DC2#915DC2

#915DC2 is a mid, vivid violet. Relative luminance 0.177; OKLCH L 57.9% C 0.156 H 305.9°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#915DC2
RGBrgb(145, 93, 194)
HSLhsl(271, 45%, 56%)
HSVhsv(271, 52%, 76%)
CMYKcmyk(25.3%, 52.1%, 0%, 23.9%)
CIE-LABlab(49.18, 40.79, -45.06)
CIE-LCHlch(49.18, 60.78, 312.15°)
OKLaboklab(57.89% 0.0915 -0.1265)
OKLCHoklch(57.89% 0.156 305.9)
XYZxyz(25.3270, 17.7437, 53.1191)
Luminance0.1774 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#915DC2 #8EC25D
analogous
#5F5DC2 #915DC2 #C25DC1
triadic
#915DC2 #C2915D #5DC291
tetradic
#915DC2 #C25F5D #8EC25D #5DC1C2
square
#915DC2 #C25F5D #8EC25D #5DC1C2
split-complementary
#915DC2 #C1C25D #5DC25F
monochromatic
#532D78 #723EA4 #915DC2 #AF89D3 #CDB6E3

Accessibility & contrast

On white

4.62
#915DC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#915DC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #915DC2
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##915DC2#FFFFFF#000000##FFFFFF
##915DC21.004.624.554.62
#FFFFFF4.621.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E73C5
Deuteranopia (green-blind)
#4E75BF
Tritanopia (blue-blind)
#896F87
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #915dc2;
/* rgb */ color: rgb(145, 93, 194);
/* oklch */ color: oklch(57.9% 0.156 305.9);
Tailwind
colors: {
  custom: {
    50: '#b48cd5',
    500: '#915dc2',
    950: '#000000',
  },
}
SCSS
$custom: #915dc2;
$custom-light: #b48cd5;
$custom-dark: #000000;
JSON
{
  "hex": "#915dc2",
  "rgb": {
    "r": 145,
    "g": 93,
    "b": 194
  },
  "hsl": {
    "h": 270.891,
    "s": 45.291,
    "l": 56.275
  },
  "oklch": {
    "l": 0.57893,
    "c": 0.15615,
    "h": 305.9
  },
  "luminance": 0.17743
}

Semantic roles & 50–950 ramp

primary
#915DC2
secondary
#BDD2A9
accent
#D55392
background
#FBF8FD
surface
#F6F0FA
border
#D0CBD3
text
#110C14
muted
#807D83

Preview Lab

Preview with #915DC2

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

Preview Lab → · Contrast checker → · Palette generator →

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