#915CDE#915CDE

#915CDE is a mid, vivid violet. Relative luminance 0.189; OKLCH L 59.5% C 0.191 H 299.3°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#915CDE
RGBrgb(145, 92, 222)
HSLhsl(264, 66%, 62%)
HSVhsv(264, 59%, 87%)
CMYKcmyk(34.7%, 58.6%, 0%, 12.9%)
CIE-LABlab(50.63, 48.21, -58.75)
CIE-LCHlch(50.63, 76.00, 309.37°)
OKLaboklab(59.49% 0.0936 -0.1667)
OKLCHoklch(59.49% 0.191 299.3)
XYZxyz(28.6858, 18.9477, 71.2391)
Luminance0.1895 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#915CDE #A9DE5C
analogous
#5C68DE #915CDE #D25CDE
triadic
#915CDE #DE915C #5CDE91
tetradic
#915CDE #DE5C68 #A9DE5C #5CDED2
square
#915CDE #DE5C68 #A9DE5C #5CDED2
split-complementary
#915CDE #DED25C #68DE5C
monochromatic
#54209F #6F2BD2 #915CDE #B38FE8 #D6C2F3

Accessibility & contrast

On white

4.38
#915CDE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#915CDE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #915CDE
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##915CDE#FFFFFF#000000##000000
##915CDE1.004.384.794.79
#FFFFFF4.381.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#1278E2
Deuteranopia (green-blind)
#3077DB
Tritanopia (blue-blind)
#807794
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #915cde;
/* rgb */ color: rgb(145, 92, 222);
/* oklch */ color: oklch(59.5% 0.191 299.3);
Tailwind
colors: {
  custom: {
    50: '#b68ce9',
    500: '#915cde',
    950: '#000000',
  },
}
SCSS
$custom: #915cde;
$custom-light: #b68ce9;
$custom-dark: #000000;
JSON
{
  "hex": "#915cde",
  "rgb": {
    "r": 145,
    "g": 92,
    "b": 222
  },
  "hsl": {
    "h": 264.462,
    "s": 66.327,
    "l": 61.569
  },
  "oklch": {
    "l": 0.59486,
    "c": 0.19116,
    "h": 299.3
  },
  "luminance": 0.18948
}

Semantic roles & 50–950 ramp

primary
#915CDE
secondary
#CFE3B3
accent
#CE1784
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #915CDE

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

Preview Lab → · Contrast checker → · Palette generator →

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