#915DCB#915DCB

#915DCB is a mid, vivid violet. Relative luminance 0.182; OKLCH L 58.4% C 0.167 H 303.5°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#915DCB
RGBrgb(145, 93, 203)
HSLhsl(268, 51%, 58%)
HSVhsv(268, 54%, 80%)
CMYKcmyk(28.6%, 54.2%, 0%, 20.4%)
CIE-LABlab(49.69, 42.95, -49.43)
CIE-LCHlch(49.69, 65.49, 310.99°)
OKLaboklab(58.43% 0.0921 -0.1393)
OKLCHoklch(58.43% 0.167 303.5)
XYZxyz(26.3685, 18.1603, 58.6045)
Luminance0.1816 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#915DCB #97CB5D
analogous
#5D60CB #915DCB #C85DCB
triadic
#915DCB #CB915D #5DCB91
tetradic
#915DCB #CB5D60 #97CB5D #5DCBC8
square
#915DCB #CB5D60 #97CB5D #5DCBC8
split-complementary
#915DCB #CBC85D #60CB5D
monochromatic
#542A83 #7239B2 #915DCB #B08BDA #D0BAE9

Accessibility & contrast

On white

4.53
#915DCB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#915DCB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #915DCB
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##915DCB#FFFFFF#000000##000000
##915DCB1.004.534.634.63
#FFFFFF4.531.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3575CF
Deuteranopia (green-blind)
#4676C8
Tritanopia (blue-blind)
#86728B
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #915dcb;
/* rgb */ color: rgb(145, 93, 203);
/* oklch */ color: oklch(58.4% 0.167 303.5);
Tailwind
colors: {
  custom: {
    50: '#b48ddb',
    500: '#915dcb',
    950: '#000000',
  },
}
SCSS
$custom: #915dcb;
$custom-light: #b48ddb;
$custom-dark: #000000;
JSON
{
  "hex": "#915dcb",
  "rgb": {
    "r": 145,
    "g": 93,
    "b": 203
  },
  "hsl": {
    "h": 268.364,
    "s": 51.402,
    "l": 58.039
  },
  "oklch": {
    "l": 0.58431,
    "c": 0.16699,
    "h": 303.5
  },
  "luminance": 0.1816
}

Semantic roles & 50–950 ramp

primary
#915DCB
secondary
#C3D8AC
accent
#DB4D98
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #915DCB

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

Preview Lab → · Contrast checker → · Palette generator →

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