#915DDC#915DDC

#915DDC is a mid, vivid violet. Relative luminance 0.190; OKLCH L 59.5% C 0.187 H 299.6°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#915DDC
RGBrgb(145, 93, 220)
HSLhsl(265, 64%, 61%)
HSVhsv(265, 58%, 86%)
CMYKcmyk(34.1%, 57.7%, 0%, 13.7%)
CIE-LABlab(50.71, 47.16, -57.49)
CIE-LCHlch(50.71, 74.36, 309.36°)
OKLaboklab(59.5% 0.0924 -0.163)
OKLCHoklch(59.5% 0.187 299.6)
XYZxyz(28.5065, 19.0155, 69.8648)
Luminance0.1902 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#915DDC #A8DC5D
analogous
#5D69DC #915DDC #D15DDC
triadic
#915DDC #DC915D #5DDC91
tetradic
#915DDC #DC5D69 #A8DC5D #5DDCD1
square
#915DDC #DC5D69 #A8DC5D #5DDCD1
split-complementary
#915DDC #DCD15D #69DC5D
monochromatic
#54229D #6F2DCF #915DDC #B38FE7 #D5C2F2

Accessibility & contrast

On white

4.37
#915DDC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#915DDC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #915DDC
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##915DDC#FFFFFF#000000##000000
##915DDC1.004.374.804.80
#FFFFFF4.371.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#1C78E0
Deuteranopia (green-blind)
#3578D9
Tritanopia (blue-blind)
#817794
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #915ddc;
/* rgb */ color: rgb(145, 93, 220);
/* oklch */ color: oklch(59.5% 0.187 299.6);
Tailwind
colors: {
  custom: {
    50: '#b58de7',
    500: '#915ddc',
    950: '#000000',
  },
}
SCSS
$custom: #915ddc;
$custom-light: #b58de7;
$custom-dark: #000000;
JSON
{
  "hex": "#915ddc",
  "rgb": {
    "r": 145,
    "g": 93,
    "b": 220
  },
  "hsl": {
    "h": 264.567,
    "s": 64.467,
    "l": 61.373
  },
  "oklch": {
    "l": 0.59504,
    "c": 0.18736,
    "h": 299.6
  },
  "luminance": 0.19016
}

Semantic roles & 50–950 ramp

primary
#915DDC
secondary
#CFE2B3
accent
#CC1983
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #915DDC

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

Preview Lab → · Contrast checker → · Palette generator →

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