#915DC7#915DC7

#915DC7 is a mid, vivid violet. Relative luminance 0.180; OKLCH L 58.2% C 0.162 H 304.5°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#915DC7
RGBrgb(145, 93, 199)
HSLhsl(269, 49%, 57%)
HSVhsv(269, 53%, 78%)
CMYKcmyk(27.1%, 53.3%, 0%, 22%)
CIE-LABlab(49.46, 41.99, -47.50)
CIE-LCHlch(49.46, 63.39, 311.48°)
OKLaboklab(58.19% 0.0919 -0.1337)
OKLCHoklch(58.19% 0.162 304.5)
XYZxyz(25.8980, 17.9721, 56.1264)
Luminance0.1797 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#915DC7 #93C75D
analogous
#5D5EC7 #915DC7 #C65DC7
triadic
#915DC7 #C7915D #5DC791
tetradic
#915DC7 #C75D5E #93C75D #5DC7C6
square
#915DC7 #C75D5E #93C75D #5DC7C6
split-complementary
#915DC7 #C7C65D #5EC75D
monochromatic
#542C7E #723BAC #915DC7 #B08AD7 #CFB8E6

Accessibility & contrast

On white

4.57
#915DC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#915DC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #915DC7
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##915DC7#FFFFFF#000000##000000
##915DC71.004.574.594.59
#FFFFFF4.571.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3974CB
Deuteranopia (green-blind)
#4A76C4
Tritanopia (blue-blind)
#887189
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #915dc7;
/* rgb */ color: rgb(145, 93, 199);
/* oklch */ color: oklch(58.2% 0.162 304.5);
Tailwind
colors: {
  custom: {
    50: '#b48cd8',
    500: '#915dc7',
    950: '#000000',
  },
}
SCSS
$custom: #915dc7;
$custom-light: #b48cd8;
$custom-dark: #000000;
JSON
{
  "hex": "#915dc7",
  "rgb": {
    "r": 145,
    "g": 93,
    "b": 199
  },
  "hsl": {
    "h": 269.434,
    "s": 48.624,
    "l": 57.255
  },
  "oklch": {
    "l": 0.58189,
    "c": 0.16218,
    "h": 304.5
  },
  "luminance": 0.17972
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #915DC7

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

Preview Lab → · Contrast checker → · Palette generator →

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