#864BDA#864BDA

#864BDA is a mid, highly saturated violet. Relative luminance 0.152; OKLCH L 55.7% C 0.208 H 298.3°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#864BDA
RGBrgb(134, 75, 218)
HSLhsl(265, 66%, 57%)
HSVhsv(265, 66%, 85%)
CMYKcmyk(38.5%, 65.6%, 0%, 14.5%)
CIE-LABlab(45.86, 53.74, -64.24)
CIE-LCHlch(45.86, 83.76, 309.91°)
OKLaboklab(55.67% 0.0986 -0.1831)
OKLCHoklch(55.67% 0.208 298.3)
XYZxyz(24.9993, 15.1621, 67.9256)
Luminance0.1516 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#864BDA #9FDA4B
analogous
#4B58DA #864BDA #CD4BDA
triadic
#864BDA #DA864B #4BDA86
tetradic
#864BDA #DA4B58 #9FDA4B #4BDACD
square
#864BDA #DA4B58 #9FDA4B #4BDACD
split-complementary
#864BDA #DACD4B #58DA4B
monochromatic
#4B1D8E #6728C0 #864BDA #A87EE4 #CAB1EF

Accessibility & contrast

On white

5.21
#864BDA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#864BDA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #864BDA
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##864BDA#FFFFFF#000000##FFFFFF
##864BDA1.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DDE
Deuteranopia (green-blind)
#006BD7
Tritanopia (blue-blind)
#726C8C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #864bda;
/* rgb */ color: rgb(134, 75, 218);
/* oklch */ color: oklch(55.7% 0.208 298.3);
Tailwind
colors: {
  custom: {
    50: '#af81e6',
    500: '#864bda',
    950: '#000000',
  },
}
SCSS
$custom: #864bda;
$custom-light: #af81e6;
$custom-dark: #000000;
JSON
{
  "hex": "#864bda",
  "rgb": {
    "r": 134,
    "g": 75,
    "b": 218
  },
  "hsl": {
    "h": 264.755,
    "s": 65.899,
    "l": 57.451
  },
  "oklch": {
    "l": 0.55667,
    "c": 0.20796,
    "h": 298.3
  },
  "luminance": 0.15162
}

Semantic roles & 50–950 ramp

primary
#864BDA
secondary
#C5DDA4
accent
#E93FA3
background
#FBF8FE
surface
#F6EFFC
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #864BDA

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

Preview Lab → · Contrast checker → · Palette generator →

#864BDA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva