#915FD2#915FD2

#915FD2 is a mid, vivid violet. Relative luminance 0.189; OKLCH L 59.2% C 0.172 H 301.4°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#915FD2
RGBrgb(145, 95, 210)
HSLhsl(266, 56%, 60%)
HSVhsv(266, 55%, 82%)
CMYKcmyk(31%, 54.8%, 0%, 17.6%)
CIE-LABlab(50.52, 43.57, -52.11)
CIE-LCHlch(50.52, 67.92, 309.90°)
OKLaboklab(59.17% 0.0898 -0.1472)
OKLCHoklch(59.17% 0.172 301.4)
XYZxyz(27.3994, 18.8572, 63.1566)
Luminance0.1886 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#915FD2 #A0D25F
analogous
#5F66D2 #915FD2 #CB5FD2
triadic
#915FD2 #D2915F #5FD291
tetradic
#915FD2 #D25F66 #A0D25F #5FD2CB
square
#915FD2 #D25F66 #A0D25F #5FD2CB
split-complementary
#915FD2 #D2CB5F #66D25F
monochromatic
#55288F #7136BE #915FD2 #B28FDF #D3BFED

Accessibility & contrast

On white

4.40
#915FD2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#915FD2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #915FD2
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##915FD2#FFFFFF#000000##000000
##915FD21.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3278D6
Deuteranopia (green-blind)
#4378CF
Tritanopia (blue-blind)
#84758F
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #915fd2;
/* rgb */ color: rgb(145, 95, 210);
/* oklch */ color: oklch(59.2% 0.172 301.4);
Tailwind
colors: {
  custom: {
    50: '#b58ee0',
    500: '#915fd2',
    950: '#000000',
  },
}
SCSS
$custom: #915fd2;
$custom-light: #b58ee0;
$custom-dark: #000000;
JSON
{
  "hex": "#915fd2",
  "rgb": {
    "r": 145,
    "g": 95,
    "b": 210
  },
  "hsl": {
    "h": 266.087,
    "s": 56.098,
    "l": 59.804
  },
  "oklch": {
    "l": 0.59174,
    "c": 0.1724,
    "h": 301.4
  },
  "luminance": 0.18857
}

Semantic roles & 50–950 ramp

primary
#915FD2
secondary
#C9DDB0
accent
#DF489E
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #915FD2

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

Preview Lab → · Contrast checker → · Palette generator →

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