#895EF7#895EF7

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

Color values

HEX#895EF7
RGBrgb(137, 94, 247)
HSLhsl(257, 91%, 67%)
HSVhsv(257, 62%, 97%)
CMYKcmyk(44.5%, 61.9%, 0%, 3.1%)
CIE-LABlab(51.88, 51.97, -70.81)
CIE-LCHlch(51.88, 87.83, 306.28°)
OKLaboklab(60.74% 0.0798 -0.2023)
OKLCHoklch(60.74% 0.218 291.5)
XYZxyz(31.1031, 20.0381, 90.2066)
Luminance0.2004 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#895EF7 #CCF75E
analogous
#5E80F7 #895EF7 #D65EF7
triadic
#895EF7 #F7895E #5EF789
tetradic
#895EF7 #F75E80 #CCF75E #5EF7D6
square
#895EF7 #F75E80 #CCF75E #5EF7D6
split-complementary
#895EF7 #F7D65E #80F75E
monochromatic
#420AD0 #5E24F4 #895EF7 #B498FA #DED3FD

Accessibility & contrast

On white

4.19
#895EF7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#895EF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #895EF7
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##895EF7#FFFFFF#000000##000000
##895EF71.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EFC
Deuteranopia (green-blind)
#0078F4
Tritanopia (blue-blind)
#6882A2
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #895ef7;
/* rgb */ color: rgb(137, 94, 247);
/* oklch */ color: oklch(60.7% 0.218 291.5);
Tailwind
colors: {
  custom: {
    50: '#b38efb',
    500: '#895ef7',
    950: '#000000',
  },
}
SCSS
$custom: #895ef7;
$custom-light: #b38efb;
$custom-dark: #000000;
JSON
{
  "hex": "#895ef7",
  "rgb": {
    "r": 137,
    "g": 94,
    "b": 247
  },
  "hsl": {
    "h": 256.863,
    "s": 90.533,
    "l": 66.863
  },
  "oklch": {
    "l": 0.60739,
    "c": 0.21751,
    "h": 291.5
  },
  "luminance": 0.20039
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #895EF7

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

Preview Lab → · Contrast checker → · Palette generator →

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