#915BC2#915BC2

#915BC2 is a mid, vivid violet. Relative luminance 0.174; OKLCH L 57.6% C 0.159 H 306.2°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#915BC2
RGBrgb(145, 91, 194)
HSLhsl(271, 46%, 56%)
HSVhsv(271, 53%, 76%)
CMYKcmyk(25.3%, 53.1%, 0%, 23.9%)
CIE-LABlab(48.76, 41.89, -45.74)
CIE-LCHlch(48.76, 62.02, 312.49°)
OKLaboklab(57.58% 0.0942 -0.1285)
OKLCHoklch(57.58% 0.159 306.2)
XYZxyz(25.1537, 17.3972, 53.0613)
Luminance0.1740 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#915BC2 #8CC25B
analogous
#5D5BC2 #915BC2 #C25BC0
triadic
#915BC2 #C2915B #5BC291
tetradic
#915BC2 #C25D5B #8CC25B #5BC0C2
square
#915BC2 #C25D5B #8CC25B #5BC0C2
split-complementary
#915BC2 #C0C25B #5BC25D
monochromatic
#532C77 #723DA3 #915BC2 #AF88D3 #CDB4E3

Accessibility & contrast

On white

4.69
#915BC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#915BC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #915BC2
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##915BC2#FFFFFF#000000##FFFFFF
##915BC21.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A72C5
Deuteranopia (green-blind)
#4B74BF
Tritanopia (blue-blind)
#896E86
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #915bc2;
/* rgb */ color: rgb(145, 91, 194);
/* oklch */ color: oklch(57.6% 0.159 306.2);
Tailwind
colors: {
  custom: {
    50: '#b48bd5',
    500: '#915bc2',
    950: '#000000',
  },
}
SCSS
$custom: #915bc2;
$custom-light: #b48bd5;
$custom-dark: #000000;
JSON
{
  "hex": "#915bc2",
  "rgb": {
    "r": 145,
    "g": 91,
    "b": 194
  },
  "hsl": {
    "h": 271.456,
    "s": 45.778,
    "l": 55.882
  },
  "oklch": {
    "l": 0.57577,
    "c": 0.15934,
    "h": 306.2
  },
  "luminance": 0.17397
}

Semantic roles & 50–950 ramp

primary
#915BC2
secondary
#BBD2A7
accent
#D55291
background
#FBF8FD
surface
#F6F0FA
border
#D0CBD3
text
#110C14
muted
#807D83

Preview Lab

Preview with #915BC2

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

Preview Lab → · Contrast checker → · Palette generator →

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