#896AEC#896AEC

#896AEC is a mid, vivid violet. Relative luminance 0.217; OKLCH L 61.8% C 0.188 H 290.9°. Best body text is #000000 at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#896AEC
RGBrgb(137, 106, 236)
HSLhsl(254, 77%, 67%)
HSVhsv(254, 55%, 93%)
CMYKcmyk(41.9%, 55.1%, 0%, 7.5%)
CIE-LABlab(53.69, 42.33, -61.75)
CIE-LCHlch(53.69, 74.87, 304.44°)
OKLaboklab(61.83% 0.0669 -0.1757)
OKLCHoklch(61.83% 0.188 290.9)
XYZxyz(30.6067, 21.6816, 81.9130)
Luminance0.2168 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#896AEC #CDEC6A
analogous
#6A8CEC #896AEC #CA6AEC
triadic
#896AEC #EC896A #6AEC89
tetradic
#896AEC #EC6A8C #CDEC6A #6AECCA
square
#896AEC #EC6A8C #CDEC6A #6AECCA
split-complementary
#896AEC #ECCA6A #8CEC6A
monochromatic
#4119C3 #5E34E5 #896AEC #B4A0F3 #DFD7FA

Accessibility & contrast

On white

3.94
#896AEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.34
#896AEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #896AEC
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##896AEC#FFFFFF#000000##000000
##896AEC1.003.945.345.34
#FFFFFF3.941.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2483F0
Deuteranopia (green-blind)
#2C7DE9
Tritanopia (blue-blind)
#6D86A1
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #896aec;
/* rgb */ color: rgb(137, 106, 236);
/* oklch */ color: oklch(61.8% 0.188 290.9);
Tailwind
colors: {
  custom: {
    50: '#b195f3',
    500: '#896aec',
    950: '#000000',
  },
}
SCSS
$custom: #896aec;
$custom-light: #b195f3;
$custom-dark: #000000;
JSON
{
  "hex": "#896aec",
  "rgb": {
    "r": 137,
    "g": 106,
    "b": 236
  },
  "hsl": {
    "h": 254.308,
    "s": 77.381,
    "l": 67.059
  },
  "oklch": {
    "l": 0.61833,
    "c": 0.18801,
    "h": 290.9
  },
  "luminance": 0.21683
}

Semantic roles & 50–950 ramp

primary
#896AEC
secondary
#E4EEC4
accent
#DA0CA9
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110D17
muted
#807E85

Preview Lab

Preview with #896AEC

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

Preview Lab → · Contrast checker → · Palette generator →

#896AEC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva