#915CEB#915CEB

#915CEB is a mid, highly saturated violet. Relative luminance 0.197; OKLCH L 60.4% C 0.206 H 296.8°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#915CEB
RGBrgb(145, 92, 235)
HSLhsl(262, 78%, 64%)
HSVhsv(262, 61%, 92%)
CMYKcmyk(38.3%, 60.9%, 0%, 7.8%)
CIE-LABlab(51.46, 51.50, -64.73)
CIE-LCHlch(51.46, 82.72, 308.51°)
OKLaboklab(60.36% 0.0931 -0.1842)
OKLCHoklch(60.36% 0.206 296.8)
XYZxyz(30.4957, 19.6717, 80.7715)
Luminance0.1967 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#915CEB #B6EB5C
analogous
#5C6FEB #915CEB #D95CEB
triadic
#915CEB #EB915C #5CEB91
tetradic
#915CEB #EB5C6F #B6EB5C #5CEBD9
square
#915CEB #EB5C6F #B6EB5C #5CEBD9
split-complementary
#915CEB #EBD95C #6FEB5C
monochromatic
#5216B6 #6C25E4 #915CEB #B693F2 #DBC9F8

Accessibility & contrast

On white

4.26
#915CEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#915CEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #915CEB
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##915CEB#FFFFFF#000000##000000
##915CEB1.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BF0
Deuteranopia (green-blind)
#1379E8
Tritanopia (blue-blind)
#7B7C9B
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #915ceb;
/* rgb */ color: rgb(145, 92, 235);
/* oklch */ color: oklch(60.4% 0.206 296.8);
Tailwind
colors: {
  custom: {
    50: '#b78cf2',
    500: '#915ceb',
    950: '#000000',
  },
}
SCSS
$custom: #915ceb;
$custom-light: #b78cf2;
$custom-dark: #000000;
JSON
{
  "hex": "#915ceb",
  "rgb": {
    "r": 145,
    "g": 92,
    "b": 235
  },
  "hsl": {
    "h": 262.238,
    "s": 78.142,
    "l": 64.118
  },
  "oklch": {
    "l": 0.60364,
    "c": 0.20644,
    "h": 296.8
  },
  "luminance": 0.19672
}

Semantic roles & 50–950 ramp

primary
#915CEB
secondary
#D8EAB8
accent
#DA0B8E
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #915CEB

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

Preview Lab → · Contrast checker → · Palette generator →

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