#915BCD#915BCD

#915BCD is a mid, vivid violet. Relative luminance 0.179; OKLCH L 58.2% C 0.172 H 303.3°. Best body text is #000000 at 4.58:1 contrast (WCAG AA passes).

Color values

HEX#915BCD
RGBrgb(145, 91, 205)
HSLhsl(268, 53%, 58%)
HSVhsv(268, 56%, 80%)
CMYKcmyk(29.3%, 55.6%, 0%, 19.6%)
CIE-LABlab(49.39, 44.54, -51.06)
CIE-LCHlch(49.39, 67.75, 311.10°)
OKLaboklab(58.25% 0.0948 -0.1441)
OKLCHoklch(58.25% 0.172 303.3)
XYZxyz(26.4351, 17.9097, 59.8100)
Luminance0.1791 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#915BCD #97CD5B
analogous
#5B5ECD #915BCD #CA5BCD
triadic
#915BCD #CD915B #5BCD91
tetradic
#915BCD #CD5B5E #97CD5B #5BCDCA
square
#915BCD #CD5B5E #97CD5B #5BCDCA
split-complementary
#915BCD #CDCA5B #5ECD5B
monochromatic
#542985 #7237B4 #915BCD #B08ADB #D0B9EA

Accessibility & contrast

On white

4.58
#915BCD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#915BCD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #915BCD
4.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##915BCD#FFFFFF#000000##000000
##915BCD1.004.584.584.58
#FFFFFF4.581.0021.0021.00
#0000004.5821.001.001.00
##0000004.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F74D1
Deuteranopia (green-blind)
#4275CA
Tritanopia (blue-blind)
#86718B
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #915bcd;
/* rgb */ color: rgb(145, 91, 205);
/* oklch */ color: oklch(58.2% 0.172 303.3);
Tailwind
colors: {
  custom: {
    50: '#b48bdd',
    500: '#915bcd',
    950: '#000000',
  },
}
SCSS
$custom: #915bcd;
$custom-light: #b48bdd;
$custom-dark: #000000;
JSON
{
  "hex": "#915bcd",
  "rgb": {
    "r": 145,
    "g": 91,
    "b": 205
  },
  "hsl": {
    "h": 268.421,
    "s": 53.271,
    "l": 58.039
  },
  "oklch": {
    "l": 0.58245,
    "c": 0.17245,
    "h": 303.3
  },
  "luminance": 0.1791
}

Semantic roles & 50–950 ramp

primary
#915BCD
secondary
#C3D9AB
accent
#DD4B98
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #915BCD

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

Preview Lab → · Contrast checker → · Palette generator →

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