#915CC7#915CC7

#915CC7 is a mid, vivid violet. Relative luminance 0.178; OKLCH L 58.0% C 0.164 H 304.7°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#915CC7
RGBrgb(145, 92, 199)
HSLhsl(270, 49%, 57%)
HSVhsv(270, 54%, 78%)
CMYKcmyk(27.1%, 53.8%, 0%, 22%)
CIE-LABlab(49.25, 42.54, -47.83)
CIE-LCHlch(49.25, 64.01, 311.65°)
OKLaboklab(58.03% 0.0932 -0.1346)
OKLCHoklch(58.03% 0.164 304.7)
XYZxyz(25.8108, 17.7977, 56.0973)
Luminance0.1780 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#915CC7 #92C75C
analogous
#5C5DC7 #915CC7 #C75CC7
triadic
#915CC7 #C7915C #5CC791
tetradic
#915CC7 #C75C5D #92C75C #5CC7C7
square
#915CC7 #C75C5D #92C75C #5CC7C7
split-complementary
#915CC7 #C7C75C #5DC75C
monochromatic
#542B7D #723BAB #915CC7 #B08AD7 #CEB7E6

Accessibility & contrast

On white

4.61
#915CC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#915CC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #915CC7
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##915CC7#FFFFFF#000000##FFFFFF
##915CC71.004.614.564.61
#FFFFFF4.611.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3774CB
Deuteranopia (green-blind)
#4975C4
Tritanopia (blue-blind)
#887089
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #915cc7;
/* rgb */ color: rgb(145, 92, 199);
/* oklch */ color: oklch(58.0% 0.164 304.7);
Tailwind
colors: {
  custom: {
    50: '#b48cd8',
    500: '#915cc7',
    950: '#000000',
  },
}
SCSS
$custom: #915cc7;
$custom-light: #b48cd8;
$custom-dark: #000000;
JSON
{
  "hex": "#915cc7",
  "rgb": {
    "r": 145,
    "g": 92,
    "b": 199
  },
  "hsl": {
    "h": 269.72,
    "s": 48.858,
    "l": 57.059
  },
  "oklch": {
    "l": 0.58032,
    "c": 0.16374,
    "h": 304.7
  },
  "luminance": 0.17798
}

Semantic roles & 50–950 ramp

primary
#915CC7
secondary
#C0D5AA
accent
#D84F95
background
#FBF8FD
surface
#F6F0FA
border
#D0CBD3
text
#110C14
muted
#807D83

Preview Lab

Preview with #915CC7

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

Preview Lab → · Contrast checker → · Palette generator →

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