#915CBB#915CBB

#915CBB is a mid, vivid violet. Relative luminance 0.173; OKLCH L 57.3% C 0.149 H 308.1°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#915CBB
RGBrgb(145, 92, 187)
HSLhsl(273, 41%, 55%)
HSVhsv(273, 51%, 73%)
CMYKcmyk(22.5%, 50.8%, 0%, 26.7%)
CIE-LABlab(48.59, 39.69, -41.95)
CIE-LCHlch(48.59, 57.75, 313.41°)
OKLaboklab(57.33% 0.0922 -0.1175)
OKLCHoklch(57.33% 0.149 308.1)
XYZxyz(24.4721, 17.2622, 49.0468)
Luminance0.1726 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#915CBB #86BB5C
analogous
#625CBB #915CBB #BB5CB6
triadic
#915CBB #BB915C #5CBB91
tetradic
#915CBB #BB625C #86BB5C #5CB6BB
square
#915CBB #BB625C #86BB5C #5CB6BB
split-complementary
#915CBB #B6BB5C #5CBB62
monochromatic
#522E6F #72409A #915CBB #AE87CD #CBB2DF

Accessibility & contrast

On white

4.72
#915CBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#915CBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #915CBB
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##915CBB#FFFFFF#000000##FFFFFF
##915CBB1.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4271BE
Deuteranopia (green-blind)
#5174B9
Tritanopia (blue-blind)
#8B6C83
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #915cbb;
/* rgb */ color: rgb(145, 92, 187);
/* oklch */ color: oklch(57.3% 0.149 308.1);
Tailwind
colors: {
  custom: {
    50: '#b38cd0',
    500: '#915cbb',
    950: '#000000',
  },
}
SCSS
$custom: #915cbb;
$custom-light: #b38cd0;
$custom-dark: #000000;
JSON
{
  "hex": "#915cbb",
  "rgb": {
    "r": 145,
    "g": 92,
    "b": 187
  },
  "hsl": {
    "h": 273.474,
    "s": 41.126,
    "l": 54.706
  },
  "oklch": {
    "l": 0.57329,
    "c": 0.14936,
    "h": 308.1
  },
  "luminance": 0.17262
}

Semantic roles & 50–950 ramp

primary
#915CBB
secondary
#B7CDA5
accent
#D1578D
background
#FBF8FC
surface
#F6F0F9
border
#D0CBD2
text
#110C14
muted
#807D82

Preview Lab

Preview with #915CBB

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

Preview Lab → · Contrast checker → · Palette generator →

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