#915DF2#915DF2

#915DF2 is a mid, highly saturated violet. Relative luminance 0.203; OKLCH L 61.0% C 0.213 H 295.4°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#915DF2
RGBrgb(145, 93, 242)
HSLhsl(261, 85%, 66%)
HSVhsv(261, 62%, 95%)
CMYKcmyk(40.1%, 61.6%, 0%, 5.1%)
CIE-LABlab(52.13, 52.78, -67.58)
CIE-LCHlch(52.13, 85.74, 307.99°)
OKLaboklab(61% 0.0916 -0.1926)
OKLCHoklch(61% 0.213 295.4)
XYZxyz(31.6142, 20.2586, 86.2318)
Luminance0.2026 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#915DF2 #BEF25D
analogous
#5D73F2 #915DF2 #DC5DF2
triadic
#915DF2 #F2915D #5DF291
tetradic
#915DF2 #F25D73 #BEF25D #5DF2DC
square
#915DF2 #F25D73 #BEF25D #5DF2DC
split-complementary
#915DF2 #F2DC5D #73F25D
monochromatic
#4F10C5 #6B24ED #915DF2 #B796F7 #DECEFB

Accessibility & contrast

On white

4.16
#915DF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#915DF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #915DF2
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##915DF2#FFFFFF#000000##000000
##915DF21.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DF7
Deuteranopia (green-blind)
#007AEF
Tritanopia (blue-blind)
#787F9F
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #915df2;
/* rgb */ color: rgb(145, 93, 242);
/* oklch */ color: oklch(61.0% 0.213 295.4);
Tailwind
colors: {
  custom: {
    50: '#b78df7',
    500: '#915df2',
    950: '#000000',
  },
}
SCSS
$custom: #915df2;
$custom-light: #b78df7;
$custom-dark: #000000;
JSON
{
  "hex": "#915df2",
  "rgb": {
    "r": 145,
    "g": 93,
    "b": 242
  },
  "hsl": {
    "h": 260.94,
    "s": 85.143,
    "l": 65.686
  },
  "oklch": {
    "l": 0.60995,
    "c": 0.21329,
    "h": 295.4
  },
  "luminance": 0.20259
}

Semantic roles & 50–950 ramp

primary
#915DF2
secondary
#DDEEBD
accent
#E20494
background
#FBF8FF
surface
#F7F0FF
border
#D0CBD7
text
#120C17
muted
#817D85

Preview Lab

Preview with #915DF2

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

Preview Lab → · Contrast checker → · Palette generator →

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