#895EF6#895EF6

#895EF6 is a mid, highly saturated violet. Relative luminance 0.200; OKLCH L 60.7% C 0.216 H 291.7°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#895EF6
RGBrgb(137, 94, 246)
HSLhsl(257, 89%, 67%)
HSVhsv(257, 62%, 96%)
CMYKcmyk(44.3%, 61.8%, 0%, 3.5%)
CIE-LABlab(51.81, 51.70, -70.36)
CIE-LCHlch(51.81, 87.31, 306.31°)
OKLaboklab(60.67% 0.0799 -0.201)
OKLCHoklch(60.67% 0.216 291.7)
XYZxyz(30.9492, 19.9766, 89.3961)
Luminance0.1998 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#895EF6 #CBF65E
analogous
#5E7FF6 #895EF6 #D55EF6
triadic
#895EF6 #F6895E #5EF689
tetradic
#895EF6 #F65E7F #CBF65E #5EF6D5
square
#895EF6 #F65E7F #CBF65E #5EF6D5
split-complementary
#895EF6 #F6D55E #7FF65E
monochromatic
#430CCE #5F24F3 #895EF6 #B398F9 #DED2FC

Accessibility & contrast

On white

4.20
#895EF6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#895EF6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #895EF6
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##895EF6#FFFFFF#000000##000000
##895EF61.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EFB
Deuteranopia (green-blind)
#0078F3
Tritanopia (blue-blind)
#6981A1
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #895ef6;
/* rgb */ color: rgb(137, 94, 246);
/* oklch */ color: oklch(60.7% 0.216 291.7);
Tailwind
colors: {
  custom: {
    50: '#b38efa',
    500: '#895ef6',
    950: '#000000',
  },
}
SCSS
$custom: #895ef6;
$custom-light: #b38efa;
$custom-dark: #000000;
JSON
{
  "hex": "#895ef6",
  "rgb": {
    "r": 137,
    "g": 94,
    "b": 246
  },
  "hsl": {
    "h": 256.974,
    "s": 89.412,
    "l": 66.667
  },
  "oklch": {
    "l": 0.60666,
    "c": 0.21633,
    "h": 291.7
  },
  "luminance": 0.19978
}

Semantic roles & 50–950 ramp

primary
#895EF6
secondary
#E3F0BF
accent
#E600A5
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#120C17
muted
#817D85

Preview Lab

Preview with #895EF6

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

Preview Lab → · Contrast checker → · Palette generator →

#895EF6 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva