#915ECD#915ECD

#915ECD is a mid, vivid violet. Relative luminance 0.184; OKLCH L 58.7% C 0.168 H 302.8°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#915ECD
RGBrgb(145, 94, 205)
HSLhsl(268, 53%, 59%)
HSVhsv(268, 54%, 80%)
CMYKcmyk(29.3%, 54.1%, 0%, 19.6%)
CIE-LABlab(50.02, 42.89, -50.05)
CIE-LCHlch(50.02, 65.92, 310.60°)
OKLaboklab(58.71% 0.0909 -0.1411)
OKLCHoklch(58.71% 0.168 302.8)
XYZxyz(26.6967, 18.4329, 59.8972)
Luminance0.1843 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#915ECD #9ACD5E
analogous
#5E62CD #915ECD #C95ECD
triadic
#915ECD #CD915E #5ECD91
tetradic
#915ECD #CD5E62 #9ACD5E #5ECDC9
square
#915ECD #CD5E62 #9ACD5E #5ECDC9
split-complementary
#915ECD #CDC95E #62CD5E
monochromatic
#552A87 #7238B5 #915ECD #B18DDC #D1BBEA

Accessibility & contrast

On white

4.48
#915ECD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#915ECD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #915ECD
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##915ECD#FFFFFF#000000##000000
##915ECD1.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3576D1
Deuteranopia (green-blind)
#4677CA
Tritanopia (blue-blind)
#86738C
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #915ecd;
/* rgb */ color: rgb(145, 94, 205);
/* oklch */ color: oklch(58.7% 0.168 302.8);
Tailwind
colors: {
  custom: {
    50: '#b48ddd',
    500: '#915ecd',
    950: '#000000',
  },
}
SCSS
$custom: #915ecd;
$custom-light: #b48ddd;
$custom-dark: #000000;
JSON
{
  "hex": "#915ecd",
  "rgb": {
    "r": 145,
    "g": 94,
    "b": 205
  },
  "hsl": {
    "h": 267.568,
    "s": 52.607,
    "l": 58.627
  },
  "oklch": {
    "l": 0.58709,
    "c": 0.16787,
    "h": 302.8
  },
  "luminance": 0.18433
}

Semantic roles & 50–950 ramp

primary
#915ECD
secondary
#C5D9AD
accent
#DC4C9A
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #915ECD

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

Preview Lab → · Contrast checker → · Palette generator →

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