#895EF1#895EF1

#895EF1 is a mid, highly saturated violet. Relative luminance 0.197; OKLCH L 60.3% C 0.210 H 292.4°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#895EF1
RGBrgb(137, 94, 241)
HSLhsl(258, 84%, 66%)
HSVhsv(258, 61%, 95%)
CMYKcmyk(43.2%, 61%, 0%, 5.5%)
CIE-LABlab(51.47, 50.35, -68.13)
CIE-LCHlch(51.47, 84.72, 306.47°)
OKLaboklab(60.31% 0.0802 -0.1945)
OKLCHoklch(60.31% 0.21 292.4)
XYZxyz(30.1921, 19.6737, 85.4087)
Luminance0.1968 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#895EF1 #C6F15E
analogous
#5E7CF1 #895EF1 #D25EF1
triadic
#895EF1 #F1895E #5EF189
tetradic
#895EF1 #F15E7C #C6F15E #5EF1D2
square
#895EF1 #F15E7C #C6F15E #5EF1D2
split-complementary
#895EF1 #F1D25E #7CF15E
monochromatic
#4511C4 #6026EC #895EF1 #B296F6 #DCCFFB

Accessibility & contrast

On white

4.26
#895EF1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#895EF1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #895EF1
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##895EF1#FFFFFF#000000##000000
##895EF11.004.264.944.94
#FFFFFF4.261.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #895ef1;
/* rgb */ color: rgb(137, 94, 241);
/* oklch */ color: oklch(60.3% 0.210 292.4);
Tailwind
colors: {
  custom: {
    50: '#b28df7',
    500: '#895ef1',
    950: '#000000',
  },
}
SCSS
$custom: #895ef1;
$custom-light: #b28df7;
$custom-dark: #000000;
JSON
{
  "hex": "#895ef1",
  "rgb": {
    "r": 137,
    "g": 94,
    "b": 241
  },
  "hsl": {
    "h": 257.551,
    "s": 84,
    "l": 65.686
  },
  "oklch": {
    "l": 0.60307,
    "c": 0.21037,
    "h": 292.4
  },
  "luminance": 0.19675
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #895EF1

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

Preview Lab → · Contrast checker → · Palette generator →

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