#915CB2#915CB2

#915CB2 is a mid, vivid violet. Relative luminance 0.169; OKLCH L 56.8% C 0.139 H 311.1°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#915CB2
RGBrgb(145, 92, 178)
HSLhsl(277, 36%, 53%)
HSVhsv(277, 48%, 70%)
CMYKcmyk(18.5%, 48.3%, 0%, 30.2%)
CIE-LABlab(48.12, 37.61, -37.46)
CIE-LCHlch(48.12, 53.08, 315.12°)
OKLaboklab(56.83% 0.0912 -0.1044)
OKLCHoklch(56.83% 0.139 311.1)
XYZxyz(23.5386, 16.8888, 44.1307)
Luminance0.1689 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#915CB2 #7DB25C
analogous
#665CB2 #915CB2 #B25CA8
triadic
#915CB2 #B2915C #5CB291
tetradic
#915CB2 #B2665C #7DB25C #5CA8B2
square
#915CB2 #B2665C #7DB25C #5CA8B2
split-complementary
#915CB2 #A8B25C #5CB266
monochromatic
#502F64 #71438E #915CB2 #AD86C6 #C9AFD9

Accessibility & contrast

On white

4.80
#915CB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#915CB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #915CB2
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##915CB2#FFFFFF#000000##FFFFFF
##915CB21.004.804.384.80
#FFFFFF4.801.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4870B5
Deuteranopia (green-blind)
#5773B0
Tritanopia (blue-blind)
#8D6A7F
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #915cb2;
/* rgb */ color: rgb(145, 92, 178);
/* oklch */ color: oklch(56.8% 0.139 311.1);
Tailwind
colors: {
  custom: {
    50: '#b38bc9',
    500: '#915cb2',
    950: '#000000',
  },
}
SCSS
$custom: #915cb2;
$custom-light: #b38bc9;
$custom-dark: #000000;
JSON
{
  "hex": "#915cb2",
  "rgb": {
    "r": 145,
    "g": 92,
    "b": 178
  },
  "hsl": {
    "h": 276.977,
    "s": 35.833,
    "l": 52.941
  },
  "oklch": {
    "l": 0.56828,
    "c": 0.13862,
    "h": 311.1
  },
  "luminance": 0.16888
}

Semantic roles & 50–950 ramp

primary
#915CB2
secondary
#B1C7A2
accent
#CC5C87
background
#FBF8FC
surface
#F6F0F8
border
#D0CBD1
text
#110C13
muted
#807D82

Preview Lab

Preview with #915CB2

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

Preview Lab → · Contrast checker → · Palette generator →

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