#915DE7#915DE7

#915DE7 is a mid, highly saturated violet. Relative luminance 0.196; OKLCH L 60.2% C 0.200 H 297.4°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#915DE7
RGBrgb(145, 93, 231)
HSLhsl(263, 74%, 64%)
HSVhsv(263, 60%, 91%)
CMYKcmyk(37.2%, 59.7%, 0%, 9.4%)
CIE-LABlab(51.40, 49.95, -62.58)
CIE-LCHlch(51.40, 80.07, 308.59°)
OKLaboklab(60.24% 0.0922 -0.1779)
OKLCHoklch(60.24% 0.2 297.4)
XYZxyz(30.0116, 19.6175, 77.7912)
Luminance0.1962 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#915DE7 #B3E75D
analogous
#5D6EE7 #915DE7 #D65DE7
triadic
#915DE7 #E7915D #5DE791
tetradic
#915DE7 #E75D6E #B3E75D #5DE7D6
square
#915DE7 #E75D6E #B3E75D #5DE7D6
split-complementary
#915DE7 #E7D65D #6EE75D
monochromatic
#521AB0 #6D28DF #915DE7 #B592EF #D9C8F7

Accessibility & contrast

On white

4.27
#915DE7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#915DE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #915DE7
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##915DE7#FFFFFF#000000##000000
##915DE71.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BEB
Deuteranopia (green-blind)
#2279E4
Tritanopia (blue-blind)
#7D7B99
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #915de7;
/* rgb */ color: rgb(145, 93, 231);
/* oklch */ color: oklch(60.2% 0.200 297.4);
Tailwind
colors: {
  custom: {
    50: '#b68def',
    500: '#915de7',
    950: '#000000',
  },
}
SCSS
$custom: #915de7;
$custom-light: #b68def;
$custom-dark: #000000;
JSON
{
  "hex": "#915de7",
  "rgb": {
    "r": 145,
    "g": 93,
    "b": 231
  },
  "hsl": {
    "h": 262.609,
    "s": 74.194,
    "l": 63.529
  },
  "oklch": {
    "l": 0.60236,
    "c": 0.20039,
    "h": 297.4
  },
  "luminance": 0.19618
}

Semantic roles & 50–950 ramp

primary
#915DE7
secondary
#D6E8B7
accent
#D60F8B
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #915DE7

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

Preview Lab → · Contrast checker → · Palette generator →

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