#815FCB#815FCB

#815FCB is a mid, vivid violet. Relative luminance 0.172; OKLCH L 57.1% C 0.161 H 295.3°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#815FCB
RGBrgb(129, 95, 203)
HSLhsl(259, 51%, 58%)
HSVhsv(259, 53%, 80%)
CMYKcmyk(36.5%, 53.2%, 0%, 20.4%)
CIE-LABlab(48.46, 37.82, -51.48)
CIE-LCHlch(48.46, 63.88, 306.30°)
OKLaboklab(57.14% 0.0691 -0.1458)
OKLCHoklch(57.14% 0.161 295.3)
XYZxyz(23.9222, 17.1629, 58.5407)
Luminance0.1716 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#815FCB #A9CB5F
analogous
#5F73CB #815FCB #B75FCB
triadic
#815FCB #CB815F #5FCB81
tetradic
#815FCB #CB5F73 #A9CB5F #5FCBB7
square
#815FCB #CB5F73 #A9CB5F #5FCBB7
split-complementary
#815FCB #CBB75F #73CB5F
monochromatic
#472B85 #603AB3 #815FCB #A58DDA #CABBE9

Accessibility & contrast

On white

4.74
#815FCB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#815FCB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #815FCB
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##815FCB#FFFFFF#000000##FFFFFF
##815FCB1.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3274CF
Deuteranopia (green-blind)
#3A72C9
Tritanopia (blue-blind)
#6F758C
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #815fcb;
/* rgb */ color: rgb(129, 95, 203);
/* oklch */ color: oklch(57.1% 0.161 295.3);
Tailwind
colors: {
  custom: {
    50: '#a98ddb',
    500: '#815fcb',
    950: '#000000',
  },
}
SCSS
$custom: #815fcb;
$custom-light: #a98ddb;
$custom-dark: #000000;
JSON
{
  "hex": "#815fcb",
  "rgb": {
    "r": 129,
    "g": 95,
    "b": 203
  },
  "hsl": {
    "h": 258.889,
    "s": 50.943,
    "l": 58.431
  },
  "oklch": {
    "l": 0.57141,
    "c": 0.16133,
    "h": 295.3
  },
  "luminance": 0.17163
}

Semantic roles & 50–950 ramp

primary
#815FCB
secondary
#CBD8AD
accent
#DA4DAE
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100C15
muted
#7F7D83

Preview Lab

Preview with #815FCB

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

Preview Lab → · Contrast checker → · Palette generator →

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