#815FBB#815FBB

#815FBB is a mid, vivid violet. Relative luminance 0.164; OKLCH L 56.2% C 0.141 H 298.9°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#815FBB
RGBrgb(129, 95, 187)
HSLhsl(262, 40%, 55%)
HSVhsv(262, 49%, 73%)
CMYKcmyk(31%, 49.2%, 0%, 26.7%)
CIE-LABlab(47.55, 33.62, -43.72)
CIE-LCHlch(47.55, 55.15, 307.56°)
OKLaboklab(56.16% 0.0678 -0.123)
OKLCHoklch(56.16% 0.141 298.9)
XYZxyz(22.1130, 16.4392, 49.0122)
Luminance0.1644 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#815FBB #99BB5F
analogous
#5F6BBB #815FBB #AF5FBB
triadic
#815FBB #BB815F #5FBB81
tetradic
#815FBB #BB5F6B #99BB5F #5FBBAF
square
#815FBB #BB5F6B #99BB5F #5FBBAF
split-complementary
#815FBB #BBAF5F #6BBB5F
monochromatic
#473070 #63429B #815FBB #A38ACD #C5B5E0

Accessibility & contrast

On white

4.90
#815FBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#815FBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #815FBB
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##815FBB#FFFFFF#000000##FFFFFF
##815FBB1.004.904.294.90
#FFFFFF4.901.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4171BE
Deuteranopia (green-blind)
#4970B9
Tritanopia (blue-blind)
#757084
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #815fbb;
/* rgb */ color: rgb(129, 95, 187);
/* oklch */ color: oklch(56.2% 0.141 298.9);
Tailwind
colors: {
  custom: {
    50: '#a88dd0',
    500: '#815fbb',
    950: '#000000',
  },
}
SCSS
$custom: #815fbb;
$custom-light: #a88dd0;
$custom-dark: #000000;
JSON
{
  "hex": "#815fbb",
  "rgb": {
    "r": 129,
    "g": 95,
    "b": 187
  },
  "hsl": {
    "h": 262.174,
    "s": 40.351,
    "l": 55.294
  },
  "oklch": {
    "l": 0.5616,
    "c": 0.14051,
    "h": 298.9
  },
  "luminance": 0.16439
}

Semantic roles & 50–950 ramp

primary
#815FBB
secondary
#C0CEA8
accent
#D058A4
background
#FAF8FC
surface
#F4F0F9
border
#CECBD2
text
#100C14
muted
#7F7D82

Preview Lab

Preview with #815FBB

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

Preview Lab → · Contrast checker → · Palette generator →

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