#915BD2#915BD2

#915BD2 is a mid, vivid violet. Relative luminance 0.182; OKLCH L 58.6% C 0.178 H 302.1°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#915BD2
RGBrgb(145, 91, 210)
HSLhsl(267, 57%, 59%)
HSVhsv(267, 57%, 82%)
CMYKcmyk(31%, 56.7%, 0%, 17.6%)
CIE-LABlab(49.68, 45.76, -53.44)
CIE-LCHlch(49.68, 70.36, 310.57°)
OKLaboklab(58.56% 0.0949 -0.1511)
OKLCHoklch(58.56% 0.178 302.1)
XYZxyz(27.0483, 18.1550, 63.0396)
Luminance0.1815 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#915BD2 #9CD25B
analogous
#5B61D2 #915BD2 #CD5BD2
triadic
#915BD2 #D2915B #5BD291
tetradic
#915BD2 #D25B61 #9CD25B #5BD2CD
square
#915BD2 #D25B61 #9CD25B #5BD2CD
split-complementary
#915BD2 #D2CD5B #61D25B
monochromatic
#55268C #7234BC #915BD2 #B18BDF #D1BBEC

Accessibility & contrast

On white

4.53
#915BD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#915BD2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #915BD2
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##915BD2#FFFFFF#000000##000000
##915BD21.004.534.634.63
#FFFFFF4.531.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2875D6
Deuteranopia (green-blind)
#3D76CF
Tritanopia (blue-blind)
#84738E
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #915bd2;
/* rgb */ color: rgb(145, 91, 210);
/* oklch */ color: oklch(58.6% 0.178 302.1);
Tailwind
colors: {
  custom: {
    50: '#b58be0',
    500: '#915bd2',
    950: '#000000',
  },
}
SCSS
$custom: #915bd2;
$custom-light: #b58be0;
$custom-dark: #000000;
JSON
{
  "hex": "#915bd2",
  "rgb": {
    "r": 145,
    "g": 91,
    "b": 210
  },
  "hsl": {
    "h": 267.227,
    "s": 56.938,
    "l": 59.02
  },
  "oklch": {
    "l": 0.58559,
    "c": 0.17839,
    "h": 302.1
  },
  "luminance": 0.18155
}

Semantic roles & 50–950 ramp

primary
#915BD2
secondary
#C7DCAD
accent
#E0489B
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #915BD2

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

Preview Lab → · Contrast checker → · Palette generator →

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