#915CE7#915CE7

#915CE7 is a mid, highly saturated violet. Relative luminance 0.194; OKLCH L 60.1% C 0.202 H 297.6°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#915CE7
RGBrgb(145, 92, 231)
HSLhsl(263, 74%, 63%)
HSVhsv(263, 60%, 91%)
CMYKcmyk(37.2%, 60.2%, 0%, 9.4%)
CIE-LABlab(51.20, 50.48, -62.91)
CIE-LCHlch(51.20, 80.66, 308.75°)
OKLaboklab(60.09% 0.0933 -0.1789)
OKLCHoklch(60.09% 0.202 297.6)
XYZxyz(29.9244, 19.4431, 77.7621)
Luminance0.1944 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#915CE7 #B2E75C
analogous
#5C6CE7 #915CE7 #D75CE7
triadic
#915CE7 #E7915C #5CE791
tetradic
#915CE7 #E75C6C #B2E75C #5CE7D7
square
#915CE7 #E75C6C #B2E75C #5CE7D7
split-complementary
#915CE7 #E7D75C #6CE75C
monochromatic
#531AAF #6D27DF #915CE7 #B591EF #D9C7F7

Accessibility & contrast

On white

4.30
#915CE7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#915CE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #915CE7
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##915CE7#FFFFFF#000000##000000
##915CE71.004.304.894.89
#FFFFFF4.301.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AEB
Deuteranopia (green-blind)
#1F78E4
Tritanopia (blue-blind)
#7D7A99
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #915ce7;
/* rgb */ color: rgb(145, 92, 231);
/* oklch */ color: oklch(60.1% 0.202 297.6);
Tailwind
colors: {
  custom: {
    50: '#b68cef',
    500: '#915ce7',
    950: '#000000',
  },
}
SCSS
$custom: #915ce7;
$custom-light: #b68cef;
$custom-dark: #000000;
JSON
{
  "hex": "#915ce7",
  "rgb": {
    "r": 145,
    "g": 92,
    "b": 231
  },
  "hsl": {
    "h": 262.878,
    "s": 74.332,
    "l": 63.333
  },
  "oklch": {
    "l": 0.60089,
    "c": 0.20176,
    "h": 297.6
  },
  "luminance": 0.19444
}

Semantic roles & 50–950 ramp

primary
#915CE7
secondary
#D5E8B7
accent
#D60F8A
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #915CE7

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

Preview Lab → · Contrast checker → · Palette generator →

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