#915BC4#915BC4

#915BC4 is a mid, vivid violet. Relative luminance 0.175; OKLCH L 57.7% C 0.162 H 305.7°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#915BC4
RGBrgb(145, 91, 196)
HSLhsl(271, 47%, 56%)
HSVhsv(271, 54%, 77%)
CMYKcmyk(26%, 53.6%, 0%, 23.1%)
CIE-LABlab(48.87, 42.37, -46.71)
CIE-LCHlch(48.87, 63.06, 312.21°)
OKLaboklab(57.7% 0.0943 -0.1314)
OKLCHoklch(57.7% 0.162 305.7)
XYZxyz(25.3798, 17.4876, 54.2523)
Luminance0.1749 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#915BC4 #8EC45B
analogous
#5D5BC4 #915BC4 #C45BC3
triadic
#915BC4 #C4915B #5BC491
tetradic
#915BC4 #C45D5B #8EC45B #5BC3C4
square
#915BC4 #C45D5B #8EC45B #5BC3C4
split-complementary
#915BC4 #C3C45B #5BC45D
monochromatic
#532C79 #723CA6 #915BC4 #AF88D4 #CDB5E4

Accessibility & contrast

On white

4.67
#915BC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#915BC4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #915BC4
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##915BC4#FFFFFF#000000##FFFFFF
##915BC41.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3872C8
Deuteranopia (green-blind)
#4A74C1
Tritanopia (blue-blind)
#896E87
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #915bc4;
/* rgb */ color: rgb(145, 91, 196);
/* oklch */ color: oklch(57.7% 0.162 305.7);
Tailwind
colors: {
  custom: {
    50: '#b48bd6',
    500: '#915bc4',
    950: '#000000',
  },
}
SCSS
$custom: #915bc4;
$custom-light: #b48bd6;
$custom-dark: #000000;
JSON
{
  "hex": "#915bc4",
  "rgb": {
    "r": 145,
    "g": 91,
    "b": 196
  },
  "hsl": {
    "h": 270.857,
    "s": 47.085,
    "l": 56.275
  },
  "oklch": {
    "l": 0.57696,
    "c": 0.16172,
    "h": 305.7
  },
  "luminance": 0.17487
}

Semantic roles & 50–950 ramp

primary
#915BC4
secondary
#BDD3A8
accent
#D75192
background
#FBF8FD
surface
#F6F0FA
border
#D0CBD3
text
#110C14
muted
#807D83

Preview Lab

Preview with #915BC4

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

Preview Lab → · Contrast checker → · Palette generator →

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