#895EF8#895EF8

#895EF8 is a mid, highly saturated violet. Relative luminance 0.201; OKLCH L 60.8% C 0.219 H 291.4°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#895EF8
RGBrgb(137, 94, 248)
HSLhsl(257, 92%, 67%)
HSVhsv(257, 62%, 97%)
CMYKcmyk(44.8%, 62.1%, 0%, 2.7%)
CIE-LABlab(51.95, 52.24, -71.25)
CIE-LCHlch(51.95, 88.35, 306.25°)
OKLaboklab(60.81% 0.0797 -0.2037)
OKLCHoklch(60.81% 0.219 291.4)
XYZxyz(31.2578, 20.1000, 91.0215)
Luminance0.2010 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#895EF8 #CDF85E
analogous
#5E80F8 #895EF8 #D65EF8
triadic
#895EF8 #F8895E #5EF889
tetradic
#895EF8 #F85E80 #CDF85E #5EF8D6
square
#895EF8 #F85E80 #CDF85E #5EF8D6
split-complementary
#895EF8 #F8D65E #80F85E
monochromatic
#4109D2 #5E23F5 #895EF8 #B499FB #DFD3FD

Accessibility & contrast

On white

4.18
#895EF8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#895EF8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #895EF8
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##895EF8#FFFFFF#000000##000000
##895EF81.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EFD
Deuteranopia (green-blind)
#0079F5
Tritanopia (blue-blind)
#6882A3
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #895ef8;
/* rgb */ color: rgb(137, 94, 248);
/* oklch */ color: oklch(60.8% 0.219 291.4);
Tailwind
colors: {
  custom: {
    50: '#b38efb',
    500: '#895ef8',
    950: '#000000',
  },
}
SCSS
$custom: #895ef8;
$custom-light: #b38efb;
$custom-dark: #000000;
JSON
{
  "hex": "#895ef8",
  "rgb": {
    "r": 137,
    "g": 94,
    "b": 248
  },
  "hsl": {
    "h": 256.753,
    "s": 91.667,
    "l": 67.059
  },
  "oklch": {
    "l": 0.60811,
    "c": 0.2187,
    "h": 291.4
  },
  "luminance": 0.20101
}

Semantic roles & 50–950 ramp

primary
#895EF8
secondary
#E4F1C0
accent
#E600A5
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#120C18
muted
#817D86

Preview Lab

Preview with #895EF8

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

Preview Lab → · Contrast checker → · Palette generator →

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