#864BDB#864BDB

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

Color values

HEX#864BDB
RGBrgb(134, 75, 219)
HSLhsl(265, 67%, 58%)
HSVhsv(265, 66%, 86%)
CMYKcmyk(38.8%, 65.8%, 0%, 14.1%)
CIE-LABlab(45.93, 53.99, -64.70)
CIE-LCHlch(45.93, 84.27, 309.84°)
OKLaboklab(55.74% 0.0984 -0.1845)
OKLCHoklch(55.74% 0.209 298.1)
XYZxyz(25.1305, 15.2146, 68.6168)
Luminance0.1522 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#864BDB #A0DB4B
analogous
#4B58DB #864BDB #CE4BDB
triadic
#864BDB #DB864B #4BDB86
tetradic
#864BDB #DB4B58 #A0DB4B #4BDBCE
square
#864BDB #DB4B58 #A0DB4B #4BDBCE
split-complementary
#864BDB #DBCE4B #58DB4B
monochromatic
#4B1D8F #6627C2 #864BDB #A87EE5 #CBB1EF

Accessibility & contrast

On white

5.19
#864BDB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#864BDB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #864BDB
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##864BDB#FFFFFF#000000##FFFFFF
##864BDB1.005.194.045.19
#FFFFFF5.191.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DDF
Deuteranopia (green-blind)
#006BD8
Tritanopia (blue-blind)
#726C8D
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #864bdb;
/* rgb */ color: rgb(134, 75, 219);
/* oklch */ color: oklch(55.7% 0.209 298.1);
Tailwind
colors: {
  custom: {
    50: '#af81e7',
    500: '#864bdb',
    950: '#000000',
  },
}
SCSS
$custom: #864bdb;
$custom-light: #af81e7;
$custom-dark: #000000;
JSON
{
  "hex": "#864bdb",
  "rgb": {
    "r": 134,
    "g": 75,
    "b": 219
  },
  "hsl": {
    "h": 264.583,
    "s": 66.667,
    "l": 57.647
  },
  "oklch": {
    "l": 0.55741,
    "c": 0.20908,
    "h": 298.1
  },
  "luminance": 0.15215
}

Semantic roles & 50–950 ramp

primary
#864BDB
secondary
#C6DEA4
accent
#EA3EA3
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #864BDB

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

Preview Lab → · Contrast checker → · Palette generator →

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