#915BCC#915BCC

#915BCC is a mid, vivid violet. Relative luminance 0.179; OKLCH L 58.2% C 0.171 H 303.6°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#915BCC
RGBrgb(145, 91, 204)
HSLhsl(269, 53%, 58%)
HSVhsv(269, 55%, 80%)
CMYKcmyk(28.9%, 55.4%, 0%, 20%)
CIE-LABlab(49.33, 44.29, -50.58)
CIE-LCHlch(49.33, 67.23, 311.21°)
OKLaboklab(58.18% 0.0947 -0.1427)
OKLCHoklch(58.18% 0.171 303.6)
XYZxyz(26.3148, 17.8616, 59.1763)
Luminance0.1786 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#915BCC #96CC5B
analogous
#5B5DCC #915BCC #CA5BCC
triadic
#915BCC #CC915B #5BCC91
tetradic
#915BCC #CC5B5D #96CC5B #5BCCCA
square
#915BCC #CC5B5D #96CC5B #5BCCCA
split-complementary
#915BCC #CCCA5B #5DCC5B
monochromatic
#542984 #7237B2 #915BCC #B08ADB #D0B8E9

Accessibility & contrast

On white

4.59
#915BCC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#915BCC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #915BCC
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##915BCC#FFFFFF#000000##FFFFFF
##915BCC1.004.594.574.59
#FFFFFF4.591.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3074D0
Deuteranopia (green-blind)
#4375C9
Tritanopia (blue-blind)
#86718B
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #915bcc;
/* rgb */ color: rgb(145, 91, 204);
/* oklch */ color: oklch(58.2% 0.171 303.6);
Tailwind
colors: {
  custom: {
    50: '#b48bdc',
    500: '#915bcc',
    950: '#000000',
  },
}
SCSS
$custom: #915bcc;
$custom-light: #b48bdc;
$custom-dark: #000000;
JSON
{
  "hex": "#915bcc",
  "rgb": {
    "r": 145,
    "g": 91,
    "b": 204
  },
  "hsl": {
    "h": 268.673,
    "s": 52.558,
    "l": 57.843
  },
  "oklch": {
    "l": 0.58183,
    "c": 0.17125,
    "h": 303.6
  },
  "luminance": 0.17862
}

Semantic roles & 50–950 ramp

primary
#915BCC
secondary
#C2D8AB
accent
#DC4C97
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #915BCC

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

Preview Lab → · Contrast checker → · Palette generator →

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