#815FCC#815FCC

#815FCC is a mid, vivid violet. Relative luminance 0.172; OKLCH L 57.2% C 0.163 H 295.2°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#815FCC
RGBrgb(129, 95, 204)
HSLhsl(259, 52%, 59%)
HSVhsv(259, 53%, 80%)
CMYKcmyk(36.8%, 53.4%, 0%, 20%)
CIE-LABlab(48.52, 38.09, -51.96)
CIE-LCHlch(48.52, 64.43, 306.24°)
OKLaboklab(57.2% 0.0691 -0.1472)
OKLCHoklch(57.2% 0.163 295.2)
XYZxyz(24.0417, 17.2107, 59.1704)
Luminance0.1721 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#815FCC #AACC5F
analogous
#5F73CC #815FCC #B85FCC
triadic
#815FCC #CC815F #5FCC81
tetradic
#815FCC #CC5F73 #AACC5F #5FCCB8
square
#815FCC #CC5F73 #AACC5F #5FCCB8
split-complementary
#815FCC #CCB85F #73CC5F
monochromatic
#472B86 #6039B4 #815FCC #A68DDB #CABCEA

Accessibility & contrast

On white

4.73
#815FCC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#815FCC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #815FCC
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##815FCC#FFFFFF#000000##FFFFFF
##815FCC1.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3174D0
Deuteranopia (green-blind)
#3972CA
Tritanopia (blue-blind)
#6F758C
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #815fcc;
/* rgb */ color: rgb(129, 95, 204);
/* oklch */ color: oklch(57.2% 0.163 295.2);
Tailwind
colors: {
  custom: {
    50: '#a98ddc',
    500: '#815fcc',
    950: '#000000',
  },
}
SCSS
$custom: #815fcc;
$custom-light: #a98ddc;
$custom-dark: #000000;
JSON
{
  "hex": "#815fcc",
  "rgb": {
    "r": 129,
    "g": 95,
    "b": 204
  },
  "hsl": {
    "h": 258.716,
    "s": 51.659,
    "l": 58.627
  },
  "oklch": {
    "l": 0.57204,
    "c": 0.16262,
    "h": 295.2
  },
  "luminance": 0.17211
}

Semantic roles & 50–950 ramp

primary
#815FCC
secondary
#CCD9AE
accent
#DB4DAF
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100C15
muted
#7F7D83

Preview Lab

Preview with #815FCC

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

Preview Lab → · Contrast checker → · Palette generator →

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