#896CE7#896CE7

#896CE7 is a mid, vivid violet. Relative luminance 0.218; OKLCH L 61.8% C 0.179 H 291.1°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#896CE7
RGBrgb(137, 108, 231)
HSLhsl(254, 72%, 66%)
HSVhsv(254, 53%, 91%)
CMYKcmyk(40.7%, 53.2%, 0%, 9.4%)
CIE-LABlab(53.83, 39.83, -58.72)
CIE-LCHlch(53.83, 70.96, 304.15°)
OKLaboklab(61.84% 0.0644 -0.1668)
OKLCHoklch(61.84% 0.179 291.1)
XYZxyz(30.0990, 21.8121, 78.2101)
Luminance0.2181 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#896CE7 #CAE76C
analogous
#6C8DE7 #896CE7 #C76CE7
triadic
#896CE7 #E7896C #6CE789
tetradic
#896CE7 #E76C8D #CAE76C #6CE7C7
square
#896CE7 #E76C8D #CAE76C #6CE7C7
split-complementary
#896CE7 #E7C76C #8DE76C
monochromatic
#431EBA #5F37DE #896CE7 #B3A1F0 #DDD5F8

Accessibility & contrast

On white

3.92
#896CE7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.36
#896CE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #896CE7
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##896CE7#FFFFFF#000000##000000
##896CE71.003.925.365.36
#FFFFFF3.921.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3283EB
Deuteranopia (green-blind)
#377EE4
Tritanopia (blue-blind)
#6F869F
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #896ce7;
/* rgb */ color: rgb(137, 108, 231);
/* oklch */ color: oklch(61.8% 0.179 291.1);
Tailwind
colors: {
  custom: {
    50: '#b097ef',
    500: '#896ce7',
    950: '#000000',
  },
}
SCSS
$custom: #896ce7;
$custom-light: #b097ef;
$custom-dark: #000000;
JSON
{
  "hex": "#896ce7",
  "rgb": {
    "r": 137,
    "g": 108,
    "b": 231
  },
  "hsl": {
    "h": 254.146,
    "s": 71.93,
    "l": 66.471
  },
  "oklch": {
    "l": 0.61838,
    "c": 0.17882,
    "h": 291.1
  },
  "luminance": 0.21813
}

Semantic roles & 50–950 ramp

primary
#896CE7
secondary
#E2EBC3
accent
#D412A6
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110D16
muted
#807E84

Preview Lab

Preview with #896CE7

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

Preview Lab → · Contrast checker → · Palette generator →

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