#895EF2#895EF2

#895EF2 is a mid, highly saturated violet. Relative luminance 0.197; OKLCH L 60.4% C 0.212 H 292.3°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#895EF2
RGBrgb(137, 94, 242)
HSLhsl(257, 85%, 66%)
HSVhsv(257, 61%, 95%)
CMYKcmyk(43.4%, 61.2%, 0%, 5.1%)
CIE-LABlab(51.53, 50.62, -68.58)
CIE-LCHlch(51.53, 85.24, 306.43°)
OKLaboklab(60.38% 0.0801 -0.1958)
OKLCHoklch(60.38% 0.212 292.3)
XYZxyz(30.3418, 19.7336, 86.1975)
Luminance0.1973 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#895EF2 #C7F25E
analogous
#5E7DF2 #895EF2 #D35EF2
triadic
#895EF2 #F2895E #5EF289
tetradic
#895EF2 #F25E7D #C7F25E #5EF2D3
square
#895EF2 #F25E7D #C7F25E #5EF2D3
split-complementary
#895EF2 #F2D35E #7DF25E
monochromatic
#4510C6 #5F25ED #895EF2 #B397F7 #DCCFFB

Accessibility & contrast

On white

4.24
#895EF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#895EF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #895EF2
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##895EF2#FFFFFF#000000##000000
##895EF21.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DF7
Deuteranopia (green-blind)
#0078EF
Tritanopia (blue-blind)
#6B809F
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #895ef2;
/* rgb */ color: rgb(137, 94, 242);
/* oklch */ color: oklch(60.4% 0.212 292.3);
Tailwind
colors: {
  custom: {
    50: '#b28ef7',
    500: '#895ef2',
    950: '#000000',
  },
}
SCSS
$custom: #895ef2;
$custom-light: #b28ef7;
$custom-dark: #000000;
JSON
{
  "hex": "#895ef2",
  "rgb": {
    "r": 137,
    "g": 94,
    "b": 242
  },
  "hsl": {
    "h": 257.432,
    "s": 85.057,
    "l": 65.882
  },
  "oklch": {
    "l": 0.60378,
    "c": 0.21157,
    "h": 292.3
  },
  "luminance": 0.19735
}

Semantic roles & 50–950 ramp

primary
#895EF2
secondary
#E0EEBD
accent
#E204A1
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#120C17
muted
#817D85

Preview Lab

Preview with #895EF2

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

Preview Lab → · Contrast checker → · Palette generator →

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