#915CBD#915CBD

#915CBD is a mid, vivid violet. Relative luminance 0.173; OKLCH L 57.4% C 0.152 H 307.5°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#915CBD
RGBrgb(145, 92, 189)
HSLhsl(273, 42%, 55%)
HSVhsv(273, 51%, 74%)
CMYKcmyk(23.3%, 51.3%, 0%, 25.9%)
CIE-LABlab(48.70, 40.16, -42.94)
CIE-LCHlch(48.70, 58.79, 313.08°)
OKLaboklab(57.44% 0.0924 -0.1203)
OKLCHoklch(57.44% 0.152 307.5)
XYZxyz(24.6877, 17.3484, 50.1823)
Luminance0.1735 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#915CBD #88BD5C
analogous
#615CBD #915CBD #BD5CB8
triadic
#915CBD #BD915C #5CBD91
tetradic
#915CBD #BD615C #88BD5C #5CB8BD
square
#915CBD #BD615C #88BD5C #5CB8BD
split-complementary
#915CBD #B8BD5C #5CBD61
monochromatic
#522E71 #723F9C #915CBD #AE88CF #CCB3E0

Accessibility & contrast

On white

4.70
#915CBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#915CBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #915CBD
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##915CBD#FFFFFF#000000##FFFFFF
##915CBD1.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4072C0
Deuteranopia (green-blind)
#5074BB
Tritanopia (blue-blind)
#8B6D84
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #915cbd;
/* rgb */ color: rgb(145, 92, 189);
/* oklch */ color: oklch(57.4% 0.152 307.5);
Tailwind
colors: {
  custom: {
    50: '#b38cd1',
    500: '#915cbd',
    950: '#000000',
  },
}
SCSS
$custom: #915cbd;
$custom-light: #b38cd1;
$custom-dark: #000000;
JSON
{
  "hex": "#915cbd",
  "rgb": {
    "r": 145,
    "g": 92,
    "b": 189
  },
  "hsl": {
    "h": 272.784,
    "s": 42.358,
    "l": 55.098
  },
  "oklch": {
    "l": 0.57443,
    "c": 0.15175,
    "h": 307.5
  },
  "luminance": 0.17348
}

Semantic roles & 50–950 ramp

primary
#915CBD
secondary
#B9CFA6
accent
#D2568E
background
#FBF8FC
surface
#F6F0F9
border
#D0CBD2
text
#110C14
muted
#807D82

Preview Lab

Preview with #915CBD

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

Preview Lab → · Contrast checker → · Palette generator →

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