#915BCF#915BCF

#915BCF is a mid, vivid violet. Relative luminance 0.180; OKLCH L 58.4% C 0.175 H 302.8°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#915BCF
RGBrgb(145, 91, 207)
HSLhsl(268, 55%, 58%)
HSVhsv(268, 56%, 81%)
CMYKcmyk(30%, 56%, 0%, 18.8%)
CIE-LABlab(49.50, 45.03, -52.02)
CIE-LCHlch(49.50, 68.80, 310.88°)
OKLaboklab(58.37% 0.0948 -0.1469)
OKLCHoklch(58.37% 0.175 302.8)
XYZxyz(26.6781, 18.0069, 61.0896)
Luminance0.1801 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#915BCF #99CF5B
analogous
#5B5FCF #915BCF #CB5BCF
triadic
#915BCF #CF915B #5BCF91
tetradic
#915BCF #CF5B5F #99CF5B #5BCFCB
square
#915BCF #CF5B5F #99CF5B #5BCFCB
split-complementary
#915BCF #CFCB5B #5FCF5B
monochromatic
#542888 #7236B7 #915BCF #B18ADD #D1BAEB

Accessibility & contrast

On white

4.56
#915BCF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#915BCF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #915BCF
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##915BCF#FFFFFF#000000##000000
##915BCF1.004.564.604.60
#FFFFFF4.561.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2C75D3
Deuteranopia (green-blind)
#4075CC
Tritanopia (blue-blind)
#85728C
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #915bcf;
/* rgb */ color: rgb(145, 91, 207);
/* oklch */ color: oklch(58.4% 0.175 302.8);
Tailwind
colors: {
  custom: {
    50: '#b58bde',
    500: '#915bcf',
    950: '#000000',
  },
}
SCSS
$custom: #915bcf;
$custom-light: #b58bde;
$custom-dark: #000000;
JSON
{
  "hex": "#915bcf",
  "rgb": {
    "r": 145,
    "g": 91,
    "b": 207
  },
  "hsl": {
    "h": 267.931,
    "s": 54.717,
    "l": 58.431
  },
  "oklch": {
    "l": 0.5837,
    "c": 0.17482,
    "h": 302.8
  },
  "luminance": 0.18007
}

Semantic roles & 50–950 ramp

primary
#915BCF
secondary
#C4DAAC
accent
#DE4A99
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #915BCF

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

Preview Lab → · Contrast checker → · Palette generator →

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