#915ECB#915ECB

#915ECB is a mid, vivid violet. Relative luminance 0.183; OKLCH L 58.6% C 0.165 H 303.3°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#915ECB
RGBrgb(145, 94, 203)
HSLhsl(268, 51%, 58%)
HSVhsv(268, 54%, 80%)
CMYKcmyk(28.6%, 53.7%, 0%, 20.4%)
CIE-LABlab(49.90, 42.40, -49.09)
CIE-LCHlch(49.90, 64.87, 310.82°)
OKLaboklab(58.59% 0.0908 -0.1383)
OKLCHoklch(58.59% 0.165 303.3)
XYZxyz(26.4568, 18.3370, 58.6339)
Luminance0.1834 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#915ECB #98CB5E
analogous
#5E61CB #915ECB #C75ECB
triadic
#915ECB #CB915E #5ECB91
tetradic
#915ECB #CB5E61 #98CB5E #5ECBC7
square
#915ECB #CB5E61 #98CB5E #5ECBC7
split-complementary
#915ECB #CBC75E #61CB5E
monochromatic
#542B84 #723AB2 #915ECB #B18CDA #D0BBE9

Accessibility & contrast

On white

4.50
#915ECB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.67
#915ECB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #915ECB
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##915ECB#FFFFFF#000000##000000
##915ECB1.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3776CF
Deuteranopia (green-blind)
#4877C8
Tritanopia (blue-blind)
#86738C
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #915ecb;
/* rgb */ color: rgb(145, 94, 203);
/* oklch */ color: oklch(58.6% 0.165 303.3);
Tailwind
colors: {
  custom: {
    50: '#b48ddb',
    500: '#915ecb',
    950: '#000000',
  },
}
SCSS
$custom: #915ecb;
$custom-light: #b48ddb;
$custom-dark: #000000;
JSON
{
  "hex": "#915ecb",
  "rgb": {
    "r": 145,
    "g": 94,
    "b": 203
  },
  "hsl": {
    "h": 268.073,
    "s": 51.174,
    "l": 58.235
  },
  "oklch": {
    "l": 0.58588,
    "c": 0.16545,
    "h": 303.3
  },
  "luminance": 0.18337
}

Semantic roles & 50–950 ramp

primary
#915ECB
secondary
#C4D8AD
accent
#DB4D98
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #915ECB

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

Preview Lab → · Contrast checker → · Palette generator →

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