#915EC2#915EC2

#915EC2 is a mid, vivid violet. Relative luminance 0.179; OKLCH L 58.1% C 0.155 H 305.7°. Best body text is #000000 at 4.58:1 contrast (WCAG AA passes).

Color values

HEX#915EC2
RGBrgb(145, 94, 194)
HSLhsl(271, 45%, 56%)
HSVhsv(271, 52%, 76%)
CMYKcmyk(25.3%, 51.5%, 0%, 23.9%)
CIE-LABlab(49.40, 40.23, -44.72)
CIE-LCHlch(49.40, 60.15, 311.98°)
OKLaboklab(58.05% 0.0901 -0.1255)
OKLCHoklch(58.05% 0.155 305.7)
XYZxyz(25.4153, 17.9204, 53.1485)
Luminance0.1792 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#915EC2 #8FC25E
analogous
#5F5EC2 #915EC2 #C25EC1
triadic
#915EC2 #C2915E #5EC291
tetradic
#915EC2 #C25F5E #8FC25E #5EC1C2
square
#915EC2 #C25F5E #8FC25E #5EC1C2
split-complementary
#915EC2 #C1C25E #5EC25F
monochromatic
#542E78 #723EA4 #915EC2 #AF8AD3 #CEB7E4

Accessibility & contrast

On white

4.58
#915EC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#915EC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #915EC2
4.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##915EC2#FFFFFF#000000##000000
##915EC21.004.584.584.58
#FFFFFF4.581.0021.0021.00
#0000004.5821.001.001.00
##0000004.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F74C5
Deuteranopia (green-blind)
#4F76C0
Tritanopia (blue-blind)
#897087
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #915ec2;
/* rgb */ color: rgb(145, 94, 194);
/* oklch */ color: oklch(58.1% 0.155 305.7);
Tailwind
colors: {
  custom: {
    50: '#b48dd5',
    500: '#915ec2',
    950: '#000000',
  },
}
SCSS
$custom: #915ec2;
$custom-light: #b48dd5;
$custom-dark: #000000;
JSON
{
  "hex": "#915ec2",
  "rgb": {
    "r": 145,
    "g": 94,
    "b": 194
  },
  "hsl": {
    "h": 270.6,
    "s": 45.045,
    "l": 56.471
  },
  "oklch": {
    "l": 0.58053,
    "c": 0.15456,
    "h": 305.7
  },
  "luminance": 0.1792
}

Semantic roles & 50–950 ramp

primary
#915EC2
secondary
#BDD2A9
accent
#D55393
background
#FBF8FD
surface
#F6F0FA
border
#D0CBD3
text
#110C14
muted
#807D83

Preview Lab

Preview with #915EC2

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

Preview Lab → · Contrast checker → · Palette generator →

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