#915DEB#915DEB

#915DEB is a mid, highly saturated violet. Relative luminance 0.198; OKLCH L 60.5% C 0.205 H 296.7°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#915DEB
RGBrgb(145, 93, 235)
HSLhsl(262, 78%, 64%)
HSVhsv(262, 60%, 92%)
CMYKcmyk(38.3%, 60.4%, 0%, 7.8%)
CIE-LABlab(51.66, 50.97, -64.41)
CIE-LCHlch(51.66, 82.14, 308.36°)
OKLaboklab(60.51% 0.092 -0.1833)
OKLCHoklch(60.51% 0.205 296.7)
XYZxyz(30.5829, 19.8461, 80.8005)
Luminance0.1985 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#915DEB #B7EB5D
analogous
#5D70EB #915DEB #D85DEB
triadic
#915DEB #EB915D #5DEB91
tetradic
#915DEB #EB5D70 #B7EB5D #5DEBD8
square
#915DEB #EB5D70 #B7EB5D #5DEBD8
split-complementary
#915DEB #EBD85D #70EB5D
monochromatic
#5117B7 #6C27E4 #915DEB #B693F2 #DBCAF8

Accessibility & contrast

On white

4.23
#915DEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#915DEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #915DEB
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##915DEB#FFFFFF#000000##000000
##915DEB1.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CF0
Deuteranopia (green-blind)
#1779E8
Tritanopia (blue-blind)
#7B7C9B
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #915deb;
/* rgb */ color: rgb(145, 93, 235);
/* oklch */ color: oklch(60.5% 0.205 296.7);
Tailwind
colors: {
  custom: {
    50: '#b78df2',
    500: '#915deb',
    950: '#000000',
  },
}
SCSS
$custom: #915deb;
$custom-light: #b78df2;
$custom-dark: #000000;
JSON
{
  "hex": "#915deb",
  "rgb": {
    "r": 145,
    "g": 93,
    "b": 235
  },
  "hsl": {
    "h": 261.972,
    "s": 78.022,
    "l": 64.314
  },
  "oklch": {
    "l": 0.60509,
    "c": 0.2051,
    "h": 296.7
  },
  "luminance": 0.19847
}

Semantic roles & 50–950 ramp

primary
#915DEB
secondary
#D8EBB9
accent
#DA0B8E
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #915DEB

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

Preview Lab → · Contrast checker → · Palette generator →

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