#915BD7#915BD7

#915BD7 is a mid, vivid violet. Relative luminance 0.184; OKLCH L 58.9% C 0.184 H 301.0°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#915BD7
RGBrgb(145, 91, 215)
HSLhsl(266, 61%, 60%)
HSVhsv(266, 58%, 84%)
CMYKcmyk(32.6%, 57.7%, 0%, 15.7%)
CIE-LABlab(49.99, 47.00, -55.81)
CIE-LCHlch(49.99, 72.96, 310.10°)
OKLaboklab(58.88% 0.0949 -0.158)
OKLCHoklch(58.88% 0.184 301)
XYZxyz(27.6810, 18.4081, 66.3716)
Luminance0.1841 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#915BD7 #A1D75B
analogous
#5B63D7 #915BD7 #CF5BD7
triadic
#915BD7 #D7915B #5BD791
tetradic
#915BD7 #D75B63 #A1D75B #5BD7CF
square
#915BD7 #D75B63 #A1D75B #5BD7CF
split-complementary
#915BD7 #D7CF5B #63D75B
monochromatic
#552494 #7130C5 #915BD7 #B28CE3 #D3BDEF

Accessibility & contrast

On white

4.49
#915BD7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#915BD7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #915BD7
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##915BD7#FFFFFF#000000##000000
##915BD71.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#1F76DB
Deuteranopia (green-blind)
#3876D4
Tritanopia (blue-blind)
#837490
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #915bd7;
/* rgb */ color: rgb(145, 91, 215);
/* oklch */ color: oklch(58.9% 0.184 301.0);
Tailwind
colors: {
  custom: {
    50: '#b58be4',
    500: '#915bd7',
    950: '#000000',
  },
}
SCSS
$custom: #915bd7;
$custom-light: #b58be4;
$custom-dark: #000000;
JSON
{
  "hex": "#915bd7",
  "rgb": {
    "r": 145,
    "g": 91,
    "b": 215
  },
  "hsl": {
    "h": 266.129,
    "s": 60.784,
    "l": 60
  },
  "oklch": {
    "l": 0.58879,
    "c": 0.18431,
    "h": 301
  },
  "luminance": 0.18408
}

Semantic roles & 50–950 ramp

primary
#915BD7
secondary
#CADFAF
accent
#E4449E
background
#FBF8FE
surface
#F6F0FC
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #915BD7

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

Preview Lab → · Contrast checker → · Palette generator →

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