#915FCA#915FCA

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

Color values

HEX#915FCA
RGBrgb(145, 95, 202)
HSLhsl(268, 50%, 58%)
HSVhsv(268, 53%, 79%)
CMYKcmyk(28.2%, 53%, 0%, 20.8%)
CIE-LABlab(50.06, 41.61, -48.27)
CIE-LCHlch(50.06, 63.72, 310.76°)
OKLaboklab(58.68% 0.0894 -0.1359)
OKLCHoklch(58.68% 0.163 303.3)
XYZxyz(26.4276, 18.4685, 58.0382)
Luminance0.1847 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#915FCA #98CA5F
analogous
#5F62CA #915FCA #C65FCA
triadic
#915FCA #CA915F #5FCA91
tetradic
#915FCA #CA5F62 #98CA5F #5FCAC6
square
#915FCA #CA5F62 #98CA5F #5FCAC6
split-complementary
#915FCA #CAC65F #62CA5F
monochromatic
#542B83 #723BB1 #915FCA #B18DD9 #D0BBE8

Accessibility & contrast

On white

4.47
#915FCA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##915FCA#FFFFFF#000000##000000
##915FCA1.004.474.694.69
#FFFFFF4.471.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A76CE
Deuteranopia (green-blind)
#4A77C7
Tritanopia (blue-blind)
#87738B
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #915fca;
/* rgb */ color: rgb(145, 95, 202);
/* oklch */ color: oklch(58.7% 0.163 303.3);
Tailwind
colors: {
  custom: {
    50: '#b48edb',
    500: '#915fca',
    950: '#000000',
  },
}
SCSS
$custom: #915fca;
$custom-light: #b48edb;
$custom-dark: #000000;
JSON
{
  "hex": "#915fca",
  "rgb": {
    "r": 145,
    "g": 95,
    "b": 202
  },
  "hsl": {
    "h": 268.037,
    "s": 50.235,
    "l": 58.235
  },
  "oklch": {
    "l": 0.58685,
    "c": 0.16269,
    "h": 303.3
  },
  "luminance": 0.18468
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #915FCA

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

Preview Lab → · Contrast checker → · Palette generator →

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