#915FC2#915FC2

#915FC2 is a mid, vivid violet. Relative luminance 0.181; OKLCH L 58.2% C 0.153 H 305.5°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#915FC2
RGBrgb(145, 95, 194)
HSLhsl(270, 45%, 57%)
HSVhsv(270, 51%, 76%)
CMYKcmyk(25.3%, 51%, 0%, 23.9%)
CIE-LABlab(49.62, 39.67, -44.37)
CIE-LCHlch(49.62, 59.52, 311.80°)
OKLaboklab(58.21% 0.0888 -0.1245)
OKLCHoklch(58.21% 0.153 305.5)
XYZxyz(25.5048, 18.0994, 53.1784)
Luminance0.1810 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#915FC2 #90C25F
analogous
#605FC2 #915FC2 #C25FC2
triadic
#915FC2 #C2915F #5FC291
tetradic
#915FC2 #C2605F #90C25F #5FC2C2
square
#915FC2 #C2605F #90C25F #5FC2C2
split-complementary
#915FC2 #C2C25F #5FC260
monochromatic
#542E79 #723FA5 #915FC2 #AF8BD3 #CEB8E4

Accessibility & contrast

On white

4.55
#915FC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#915FC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #915FC2
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##915FC2#FFFFFF#000000##000000
##915FC21.004.554.624.62
#FFFFFF4.551.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4174C5
Deuteranopia (green-blind)
#5076C0
Tritanopia (blue-blind)
#897188
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #915fc2;
/* rgb */ color: rgb(145, 95, 194);
/* oklch */ color: oklch(58.2% 0.153 305.5);
Tailwind
colors: {
  custom: {
    50: '#b48ed5',
    500: '#915fc2',
    950: '#000000',
  },
}
SCSS
$custom: #915fc2;
$custom-light: #b48ed5;
$custom-dark: #000000;
JSON
{
  "hex": "#915fc2",
  "rgb": {
    "r": 145,
    "g": 95,
    "b": 194
  },
  "hsl": {
    "h": 270.303,
    "s": 44.796,
    "l": 56.667
  },
  "oklch": {
    "l": 0.58214,
    "c": 0.15294,
    "h": 305.5
  },
  "luminance": 0.18099
}

Semantic roles & 50–950 ramp

primary
#915FC2
secondary
#BED3AA
accent
#D45393
background
#FBF8FD
surface
#F6F0FA
border
#D0CBD3
text
#110C14
muted
#807D83

Preview Lab

Preview with #915FC2

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

Preview Lab → · Contrast checker → · Palette generator →

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