#815FCF#815FCF

#815FCF is a mid, vivid violet. Relative luminance 0.174; OKLCH L 57.4% C 0.166 H 294.6°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#815FCF
RGBrgb(129, 95, 207)
HSLhsl(258, 54%, 59%)
HSVhsv(258, 54%, 81%)
CMYKcmyk(37.7%, 54.1%, 0%, 18.8%)
CIE-LABlab(48.71, 38.89, -53.39)
CIE-LCHlch(48.71, 66.05, 306.07°)
OKLaboklab(57.4% 0.0693 -0.1514)
OKLCHoklch(57.4% 0.166 294.6)
XYZxyz(24.4050, 17.3560, 61.0836)
Luminance0.1736 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#815FCF #ADCF5F
analogous
#5F75CF #815FCF #B95FCF
triadic
#815FCF #CF815F #5FCF81
tetradic
#815FCF #CF5F75 #ADCF5F #5FCFB9
square
#815FCF #CF5F75 #ADCF5F #5FCFB9
split-complementary
#815FCF #CFB95F #75CF5F
monochromatic
#47298A #5F38B9 #815FCF #A68EDD #CBBDEB

Accessibility & contrast

On white

4.70
#815FCF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#815FCF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #815FCF
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##815FCF#FFFFFF#000000##FFFFFF
##815FCF1.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D75D3
Deuteranopia (green-blind)
#3672CC
Tritanopia (blue-blind)
#6E768E
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #815fcf;
/* rgb */ color: rgb(129, 95, 207);
/* oklch */ color: oklch(57.4% 0.166 294.6);
Tailwind
colors: {
  custom: {
    50: '#aa8dde',
    500: '#815fcf',
    950: '#000000',
  },
}
SCSS
$custom: #815fcf;
$custom-light: #aa8dde;
$custom-dark: #000000;
JSON
{
  "hex": "#815fcf",
  "rgb": {
    "r": 129,
    "g": 95,
    "b": 207
  },
  "hsl": {
    "h": 258.214,
    "s": 53.846,
    "l": 59.216
  },
  "oklch": {
    "l": 0.57397,
    "c": 0.16648,
    "h": 294.6
  },
  "luminance": 0.17357
}

Semantic roles & 50–950 ramp

primary
#815FCF
secondary
#CEDBAF
accent
#DD4BB1
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100C15
muted
#7F7D83

Preview Lab

Preview with #815FCF

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

Preview Lab → · Contrast checker → · Palette generator →

#815FCF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva