#896CE2#896CE2

#896CE2 is a mid, vivid violet. Relative luminance 0.215; OKLCH L 61.5% C 0.172 H 291.9°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#896CE2
RGBrgb(137, 108, 226)
HSLhsl(255, 67%, 65%)
HSVhsv(255, 52%, 89%)
CMYKcmyk(39.4%, 52.2%, 0%, 11.4%)
CIE-LABlab(53.53, 38.47, -56.39)
CIE-LCHlch(53.53, 68.26, 304.30°)
OKLaboklab(61.52% 0.0642 -0.16)
OKLCHoklch(61.52% 0.172 291.9)
XYZxyz(29.4029, 21.5337, 74.5440)
Luminance0.2153 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#896CE2 #C5E26C
analogous
#6C8AE2 #896CE2 #C46CE2
triadic
#896CE2 #E2896C #6CE289
tetradic
#896CE2 #E26C8A #C5E26C #6CE2C4
square
#896CE2 #E26C8A #C5E26C #6CE2C4
split-complementary
#896CE2 #E2C46C #8AE26C
monochromatic
#4623B1 #6039D8 #896CE2 #B29FEC #DBD2F6

Accessibility & contrast

On white

3.96
#896CE2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#896CE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #896CE2
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##896CE2#FFFFFF#000000##000000
##896CE21.003.965.315.31
#FFFFFF3.961.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3882E6
Deuteranopia (green-blind)
#3E7EDF
Tritanopia (blue-blind)
#71849D
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #896ce2;
/* rgb */ color: rgb(137, 108, 226);
/* oklch */ color: oklch(61.5% 0.172 291.9);
Tailwind
colors: {
  custom: {
    50: '#b097ec',
    500: '#896ce2',
    950: '#000000',
  },
}
SCSS
$custom: #896ce2;
$custom-light: #b097ec;
$custom-dark: #000000;
JSON
{
  "hex": "#896ce2",
  "rgb": {
    "r": 137,
    "g": 108,
    "b": 226
  },
  "hsl": {
    "h": 254.746,
    "s": 67.045,
    "l": 65.49
  },
  "oklch": {
    "l": 0.6152,
    "c": 0.17236,
    "h": 291.9
  },
  "luminance": 0.21534
}

Semantic roles & 50–950 ramp

primary
#896CE2
secondary
#DFE9C1
accent
#CF17A2
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110D16
muted
#807E84

Preview Lab

Preview with #896CE2

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

Preview Lab → · Contrast checker → · Palette generator →

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