#865AAA#865AAA

#865AAA is a mid, vivid violet. Relative luminance 0.153; OKLCH L 54.8% C 0.128 H 308.1°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#865AAA
RGBrgb(134, 90, 170)
HSLhsl(273, 32%, 51%)
HSVhsv(273, 47%, 67%)
CMYKcmyk(21.2%, 47.1%, 0%, 33.3%)
CIE-LABlab(46.02, 33.70, -36.17)
CIE-LCHlch(46.02, 49.43, 312.98°)
OKLaboklab(54.85% 0.0791 -0.1009)
OKLCHoklch(54.85% 0.128 308.1)
XYZxyz(20.7420, 15.2832, 39.8797)
Luminance0.1528 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#865AAA #7EAA5A
analogous
#5E5AAA #865AAA #AA5AA6
triadic
#865AAA #AA865A #5AAA86
tetradic
#865AAA #AA5E5A #7EAA5A #5AA6AA
square
#865AAA #AA5E5A #7EAA5A #5AA6AA
split-complementary
#865AAA #A6AA5A #5AAA5E
monochromatic
#472F5B #674483 #865AAA #A482BF #C1ABD4

Accessibility & contrast

On white

5.18
#865AAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#865AAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #865AAA
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##865AAA#FFFFFF#000000##FFFFFF
##865AAA1.005.184.065.18
#FFFFFF5.181.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#466BAD
Deuteranopia (green-blind)
#526EA8
Tritanopia (blue-blind)
#81677A
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #865aaa;
/* rgb */ color: rgb(134, 90, 170);
/* oklch */ color: oklch(54.8% 0.128 308.1);
Tailwind
colors: {
  custom: {
    50: '#ab8ac3',
    500: '#865aaa',
    950: '#000000',
  },
}
SCSS
$custom: #865aaa;
$custom-light: #ab8ac3;
$custom-dark: #000000;
JSON
{
  "hex": "#865aaa",
  "rgb": {
    "r": 134,
    "g": 90,
    "b": 170
  },
  "hsl": {
    "h": 273,
    "s": 32,
    "l": 50.98
  },
  "oklch": {
    "l": 0.54848,
    "c": 0.12822,
    "h": 308.1
  },
  "luminance": 0.15283
}

Semantic roles & 50–950 ramp

primary
#865AAA
secondary
#AEC29E
accent
#C8608F
background
#FAF8FC
surface
#F4F0F8
border
#CECBD1
text
#100C12
muted
#7F7D81

Preview Lab

Preview with #865AAA

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

Preview Lab → · Contrast checker → · Palette generator →

#865AAA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva