#915CCC#915CCC

#915CCC is a mid, vivid violet. Relative luminance 0.180; OKLCH L 58.3% C 0.170 H 303.4°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#915CCC
RGBrgb(145, 92, 204)
HSLhsl(268, 52%, 58%)
HSVhsv(268, 55%, 80%)
CMYKcmyk(28.9%, 54.9%, 0%, 20%)
CIE-LABlab(49.54, 43.75, -50.25)
CIE-LCHlch(49.54, 66.62, 311.05°)
OKLaboklab(58.34% 0.0934 -0.1417)
OKLCHoklch(58.34% 0.17 303.4)
XYZxyz(26.4009, 18.0337, 59.2050)
Luminance0.1803 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#915CCC #97CC5C
analogous
#5C5FCC #915CCC #C95CCC
triadic
#915CCC #CC915C #5CCC91
tetradic
#915CCC #CC5C5F #97CC5C #5CCCC9
square
#915CCC #CC5C5F #97CC5C #5CCCC9
split-complementary
#915CCC #CCC95C #5FCC5C
monochromatic
#542984 #7238B3 #915CCC #B08BDB #D0B9E9

Accessibility & contrast

On white

4.56
#915CCC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#915CCC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #915CCC
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##915CCC#FFFFFF#000000##000000
##915CCC1.004.564.614.61
#FFFFFF4.561.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3275D0
Deuteranopia (green-blind)
#4476C9
Tritanopia (blue-blind)
#86718B
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #915ccc;
/* rgb */ color: rgb(145, 92, 204);
/* oklch */ color: oklch(58.3% 0.170 303.4);
Tailwind
colors: {
  custom: {
    50: '#b48cdc',
    500: '#915ccc',
    950: '#000000',
  },
}
SCSS
$custom: #915ccc;
$custom-light: #b48cdc;
$custom-dark: #000000;
JSON
{
  "hex": "#915ccc",
  "rgb": {
    "r": 145,
    "g": 92,
    "b": 204
  },
  "hsl": {
    "h": 268.393,
    "s": 52.336,
    "l": 58.039
  },
  "oklch": {
    "l": 0.58337,
    "c": 0.16973,
    "h": 303.4
  },
  "luminance": 0.18034
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #915CCC

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

Preview Lab → · Contrast checker → · Palette generator →

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