#864BB3#864BB3

#864BB3 is a mid, vivid violet. Relative luminance 0.134; OKLCH L 53.0% C 0.164 H 308.0°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#864BB3
RGBrgb(134, 75, 179)
HSLhsl(274, 41%, 50%)
HSVhsv(274, 58%, 70%)
CMYKcmyk(25.1%, 58.1%, 0%, 29.8%)
CIE-LABlab(43.29, 44.19, -45.79)
CIE-LCHlch(43.29, 63.63, 313.98°)
OKLaboklab(52.99% 0.1006 -0.1289)
OKLCHoklch(52.99% 0.164 308)
XYZxyz(20.4826, 13.3554, 44.1379)
Luminance0.1336 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#864BB3 #78B34B
analogous
#524BB3 #864BB3 #B34BAC
triadic
#864BB3 #B3864B #4BB386
tetradic
#864BB3 #B3524B #78B34B #4BACB3
square
#864BB3 #B3524B #78B34B #4BACB3
split-complementary
#864BB3 #ACB34B #4BB352
monochromatic
#45275D #663988 #864BB3 #A376C5 #C0A1D8

Accessibility & contrast

On white

5.72
#864BB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#864BB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #864BB3
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##864BB3#FFFFFF#000000##FFFFFF
##864BB31.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2464B6
Deuteranopia (green-blind)
#3C67B1
Tritanopia (blue-blind)
#7F5F78
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #864bb3;
/* rgb */ color: rgb(134, 75, 179);
/* oklch */ color: oklch(53.0% 0.164 308.0);
Tailwind
colors: {
  custom: {
    50: '#ac80ca',
    500: '#864bb3',
    950: '#000000',
  },
}
SCSS
$custom: #864bb3;
$custom-light: #ac80ca;
$custom-dark: #000000;
JSON
{
  "hex": "#864bb3",
  "rgb": {
    "r": 134,
    "g": 75,
    "b": 179
  },
  "hsl": {
    "h": 274.038,
    "s": 40.945,
    "l": 49.804
  },
  "oklch": {
    "l": 0.52994,
    "c": 0.16351,
    "h": 308
  },
  "luminance": 0.13355
}

Semantic roles & 50–950 ramp

primary
#864BB3
secondary
#AAC495
accent
#D1578C
background
#FAF7FC
surface
#F4EEF8
border
#CEC9D1
text
#100A13
muted
#7F7C82

Preview Lab

Preview with #864BB3

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

Preview Lab → · Contrast checker → · Palette generator →

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