#915BCB#915BCB

#915BCB is a mid, vivid violet. Relative luminance 0.178; OKLCH L 58.1% C 0.170 H 303.8°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#915BCB
RGBrgb(145, 91, 203)
HSLhsl(269, 52%, 58%)
HSVhsv(269, 55%, 80%)
CMYKcmyk(28.6%, 55.2%, 0%, 20.4%)
CIE-LABlab(49.27, 44.05, -50.10)
CIE-LCHlch(49.27, 66.71, 311.32°)
OKLaboklab(58.12% 0.0947 -0.1413)
OKLCHoklch(58.12% 0.17 303.8)
XYZxyz(26.1952, 17.8138, 58.5467)
Luminance0.1781 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#915BCB #95CB5B
analogous
#5B5DCB #915BCB #C95BCB
triadic
#915BCB #CB915B #5BCB91
tetradic
#915BCB #CB5B5D #95CB5B #5BCBC9
square
#915BCB #CB5B5D #95CB5B #5BCBC9
split-complementary
#915BCB #CBC95B #5DCB5B
monochromatic
#542982 #7238B1 #915BCB #B089DA #CFB8E8

Accessibility & contrast

On white

4.60
#915BCB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#915BCB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #915BCB
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##915BCB#FFFFFF#000000##FFFFFF
##915BCB1.004.604.564.60
#FFFFFF4.601.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3174CF
Deuteranopia (green-blind)
#4475C8
Tritanopia (blue-blind)
#87708A
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #915bcb;
/* rgb */ color: rgb(145, 91, 203);
/* oklch */ color: oklch(58.1% 0.170 303.8);
Tailwind
colors: {
  custom: {
    50: '#b48bdb',
    500: '#915bcb',
    950: '#000000',
  },
}
SCSS
$custom: #915bcb;
$custom-light: #b48bdb;
$custom-dark: #000000;
JSON
{
  "hex": "#915bcb",
  "rgb": {
    "r": 145,
    "g": 91,
    "b": 203
  },
  "hsl": {
    "h": 268.929,
    "s": 51.852,
    "l": 57.647
  },
  "oklch": {
    "l": 0.58121,
    "c": 0.17007,
    "h": 303.8
  },
  "luminance": 0.17814
}

Semantic roles & 50–950 ramp

primary
#915BCB
secondary
#C2D7AA
accent
#DB4C96
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #915BCB

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

Preview Lab → · Contrast checker → · Palette generator →

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