#895AF8#895AF8

#895AF8 is a mid, highly saturated violet. Relative luminance 0.194; OKLCH L 60.2% C 0.224 H 292.0°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#895AF8
RGBrgb(137, 90, 248)
HSLhsl(258, 92%, 66%)
HSVhsv(258, 64%, 97%)
CMYKcmyk(44.8%, 63.7%, 0%, 2.7%)
CIE-LABlab(51.16, 54.36, -72.53)
CIE-LCHlch(51.16, 90.64, 306.85°)
OKLaboklab(60.24% 0.0838 -0.2074)
OKLCHoklch(60.24% 0.224 292)
XYZxyz(30.9113, 19.4070, 90.9060)
Luminance0.1941 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#895AF8 #C9F85A
analogous
#5A7AF8 #895AF8 #D85AF8
triadic
#895AF8 #F8895A #5AF889
tetradic
#895AF8 #F85A7A #C9F85A #5AF8D8
square
#895AF8 #F85A7A #C9F85A #5AF8D8
split-complementary
#895AF8 #F8D85A #7AF85A
monochromatic
#4409CF #5F1FF6 #895AF8 #B395FA #DDCFFD

Accessibility & contrast

On white

4.30
#895AF8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#895AF8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #895AF8
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##895AF8#FFFFFF#000000##000000
##895AF81.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CFD
Deuteranopia (green-blind)
#0077F5
Tritanopia (blue-blind)
#6880A1
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #895af8;
/* rgb */ color: rgb(137, 90, 248);
/* oklch */ color: oklch(60.2% 0.224 292.0);
Tailwind
colors: {
  custom: {
    50: '#b38bfc',
    500: '#895af8',
    950: '#000000',
  },
}
SCSS
$custom: #895af8;
$custom-light: #b38bfc;
$custom-dark: #000000;
JSON
{
  "hex": "#895af8",
  "rgb": {
    "r": 137,
    "g": 90,
    "b": 248
  },
  "hsl": {
    "h": 257.848,
    "s": 91.86,
    "l": 66.275
  },
  "oklch": {
    "l": 0.60239,
    "c": 0.22371,
    "h": 292
  },
  "luminance": 0.19408
}

Semantic roles & 50–950 ramp

primary
#895AF8
secondary
#E1F1BD
accent
#E600A1
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#120C18
muted
#817D86

Preview Lab

Preview with #895AF8

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

Preview Lab → · Contrast checker → · Palette generator →

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