#915CC8#915CC8

#915CC8 is a mid, vivid violet. Relative luminance 0.178; OKLCH L 58.1% C 0.165 H 304.4°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#915CC8
RGBrgb(145, 92, 200)
HSLhsl(269, 50%, 57%)
HSVhsv(269, 54%, 78%)
CMYKcmyk(27.5%, 54%, 0%, 21.6%)
CIE-LABlab(49.31, 42.78, -48.32)
CIE-LCHlch(49.31, 64.53, 311.52°)
OKLaboklab(58.09% 0.0932 -0.1361)
OKLCHoklch(58.09% 0.165 304.4)
XYZxyz(25.9273, 17.8443, 56.7108)
Luminance0.1784 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#915CC8 #93C85C
analogous
#5C5DC8 #915CC8 #C75CC8
triadic
#915CC8 #C8915C #5CC891
tetradic
#915CC8 #C85C5D #93C85C #5CC8C7
square
#915CC8 #C85C5D #93C85C #5CC8C7
split-complementary
#915CC8 #C8C75C #5DC85C
monochromatic
#542B7F #723AAD #915CC8 #B08AD7 #CFB8E7

Accessibility & contrast

On white

4.60
#915CC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#915CC8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #915CC8
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##915CC8#FFFFFF#000000##FFFFFF
##915CC81.004.604.574.60
#FFFFFF4.601.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3674CC
Deuteranopia (green-blind)
#4875C5
Tritanopia (blue-blind)
#877089
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #915cc8;
/* rgb */ color: rgb(145, 92, 200);
/* oklch */ color: oklch(58.1% 0.165 304.4);
Tailwind
colors: {
  custom: {
    50: '#b48cd9',
    500: '#915cc8',
    950: '#000000',
  },
}
SCSS
$custom: #915cc8;
$custom-light: #b48cd9;
$custom-dark: #000000;
JSON
{
  "hex": "#915cc8",
  "rgb": {
    "r": 145,
    "g": 92,
    "b": 200
  },
  "hsl": {
    "h": 269.444,
    "s": 49.541,
    "l": 57.255
  },
  "oklch": {
    "l": 0.58093,
    "c": 0.16494,
    "h": 304.4
  },
  "luminance": 0.17844
}

Semantic roles & 50–950 ramp

primary
#915CC8
secondary
#C0D6AA
accent
#D94F95
background
#FBF8FD
surface
#F6F0FA
border
#D0CBD3
text
#110C15
muted
#807D83

Preview Lab

Preview with #915CC8

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

Preview Lab → · Contrast checker → · Palette generator →

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