#864CB3#864CB3

#864CB3 is a mid, vivid violet. Relative luminance 0.135; OKLCH L 53.1% C 0.162 H 307.8°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#864CB3
RGBrgb(134, 76, 179)
HSLhsl(274, 40%, 50%)
HSVhsv(274, 58%, 70%)
CMYKcmyk(25.1%, 57.5%, 0%, 29.8%)
CIE-LABlab(43.50, 43.65, -45.46)
CIE-LCHlch(43.50, 63.03, 313.84°)
OKLaboklab(53.14% 0.0993 -0.128)
OKLCHoklch(53.14% 0.162 307.8)
XYZxyz(20.5510, 13.4922, 44.1607)
Luminance0.1349 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#864CB3 #79B34C
analogous
#524CB3 #864CB3 #B34CAD
triadic
#864CB3 #B3864C #4CB386
tetradic
#864CB3 #B3524C #79B34C #4CADB3
square
#864CB3 #B3524C #79B34C #4CADB3
split-complementary
#864CB3 #ADB34C #4CB352
monochromatic
#46285D #663A88 #864CB3 #A377C5 #C0A2D7

Accessibility & contrast

On white

5.68
#864CB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#864CB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #864CB3
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##864CB3#FFFFFF#000000##FFFFFF
##864CB31.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2765B6
Deuteranopia (green-blind)
#3D67B1
Tritanopia (blue-blind)
#7F5F78
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #864cb3;
/* rgb */ color: rgb(134, 76, 179);
/* oklch */ color: oklch(53.1% 0.162 307.8);
Tailwind
colors: {
  custom: {
    50: '#ac80ca',
    500: '#864cb3',
    950: '#000000',
  },
}
SCSS
$custom: #864cb3;
$custom-light: #ac80ca;
$custom-dark: #000000;
JSON
{
  "hex": "#864cb3",
  "rgb": {
    "r": 134,
    "g": 76,
    "b": 179
  },
  "hsl": {
    "h": 273.786,
    "s": 40.392,
    "l": 50
  },
  "oklch": {
    "l": 0.53141,
    "c": 0.16197,
    "h": 307.8
  },
  "luminance": 0.13492
}

Semantic roles & 50–950 ramp

primary
#864CB3
secondary
#AAC496
accent
#D0588C
background
#FAF8FC
surface
#F4EFF8
border
#CECAD1
text
#100A13
muted
#7F7C82

Preview Lab

Preview with #864CB3

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

Preview Lab → · Contrast checker → · Palette generator →

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