#915CDB#915CDB

#915CDB is a mid, vivid violet. Relative luminance 0.188; OKLCH L 59.3% C 0.188 H 299.9°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#915CDB
RGBrgb(145, 92, 219)
HSLhsl(265, 64%, 61%)
HSVhsv(265, 58%, 86%)
CMYKcmyk(33.8%, 58%, 0%, 14.1%)
CIE-LABlab(50.44, 47.45, -57.36)
CIE-LCHlch(50.44, 74.44, 309.60°)
OKLaboklab(59.29% 0.0937 -0.1626)
OKLCHoklch(59.29% 0.188 299.9)
XYZxyz(28.2873, 18.7883, 69.1403)
Luminance0.1879 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#915CDB #A6DB5C
analogous
#5C66DB #915CDB #D05CDB
triadic
#915CDB #DB915C #5CDB91
tetradic
#915CDB #DB5C66 #A6DB5C #5CDBD0
square
#915CDB #DB5C66 #A6DB5C #5CDBD0
split-complementary
#915CDB #DBD05C #66DB5C
monochromatic
#54229A #702DCD #915CDB #B38EE6 #D5C0F1

Accessibility & contrast

On white

4.41
#915CDB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#915CDB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #915CDB
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##915CDB#FFFFFF#000000##000000
##915CDB1.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#1B78DF
Deuteranopia (green-blind)
#3477D8
Tritanopia (blue-blind)
#817693
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #915cdb;
/* rgb */ color: rgb(145, 92, 219);
/* oklch */ color: oklch(59.3% 0.188 299.9);
Tailwind
colors: {
  custom: {
    50: '#b58ce7',
    500: '#915cdb',
    950: '#000000',
  },
}
SCSS
$custom: #915cdb;
$custom-light: #b58ce7;
$custom-dark: #000000;
JSON
{
  "hex": "#915cdb",
  "rgb": {
    "r": 145,
    "g": 92,
    "b": 219
  },
  "hsl": {
    "h": 265.039,
    "s": 63.819,
    "l": 60.98
  },
  "oklch": {
    "l": 0.59289,
    "c": 0.18761,
    "h": 299.9
  },
  "luminance": 0.18789
}

Semantic roles & 50–950 ramp

primary
#915CDB
secondary
#CDE1B1
accent
#CC1A81
background
#FBF8FE
surface
#F6F0FC
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #915CDB

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

Preview Lab → · Contrast checker → · Palette generator →

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