#915DE3#915DE3

#915DE3 is a mid, vivid violet. Relative luminance 0.194; OKLCH L 60.0% C 0.196 H 298.2°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#915DE3
RGBrgb(145, 93, 227)
HSLhsl(263, 71%, 63%)
HSVhsv(263, 59%, 89%)
CMYKcmyk(36.1%, 59%, 0%, 11%)
CIE-LABlab(51.15, 48.93, -60.74)
CIE-LCHlch(51.15, 78.00, 308.85°)
OKLaboklab(59.97% 0.0923 -0.1725)
OKLCHoklch(59.97% 0.196 298.2)
XYZxyz(29.4531, 19.3941, 74.8499)
Luminance0.1939 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#915DE3 #AFE35D
analogous
#5D6CE3 #915DE3 #D45DE3
triadic
#915DE3 #E3915D #5DE391
tetradic
#915DE3 #E35D6C #AFE35D #5DE3D4
square
#915DE3 #E35D6C #AFE35D #5DE3D4
split-complementary
#915DE3 #E3D45D #6CE35D
monochromatic
#531DA8 #6E29DA #915DE3 #B491EC #D8C5F5

Accessibility & contrast

On white

4.30
#915DE3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#915DE3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #915DE3
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##915DE3#FFFFFF#000000##000000
##915DE31.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#037AE7
Deuteranopia (green-blind)
#2A78E0
Tritanopia (blue-blind)
#7E7A97
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #915de3;
/* rgb */ color: rgb(145, 93, 227);
/* oklch */ color: oklch(60.0% 0.196 298.2);
Tailwind
colors: {
  custom: {
    50: '#b68ded',
    500: '#915de3',
    950: '#000000',
  },
}
SCSS
$custom: #915de3;
$custom-light: #b68ded;
$custom-dark: #000000;
JSON
{
  "hex": "#915de3",
  "rgb": {
    "r": 145,
    "g": 93,
    "b": 227
  },
  "hsl": {
    "h": 263.284,
    "s": 70.526,
    "l": 62.745
  },
  "oklch": {
    "l": 0.59966,
    "c": 0.19567,
    "h": 298.2
  },
  "luminance": 0.19394
}

Semantic roles & 50–950 ramp

primary
#915DE3
secondary
#D3E6B6
accent
#D31388
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #915DE3

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

Preview Lab → · Contrast checker → · Palette generator →

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