#895BF8#895BF8

#895BF8 is a mid, highly saturated violet. Relative luminance 0.196; OKLCH L 60.4% C 0.222 H 291.8°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#895BF8
RGBrgb(137, 91, 248)
HSLhsl(258, 92%, 66%)
HSVhsv(258, 63%, 97%)
CMYKcmyk(44.8%, 63.3%, 0%, 2.7%)
CIE-LABlab(51.36, 53.84, -72.21)
CIE-LCHlch(51.36, 90.07, 306.70°)
OKLaboklab(60.38% 0.0828 -0.2065)
OKLCHoklch(60.38% 0.222 291.8)
XYZxyz(30.9962, 19.5768, 90.9343)
Luminance0.1958 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#895BF8 #CAF85B
analogous
#5B7CF8 #895BF8 #D85BF8
triadic
#895BF8 #F8895B #5BF889
tetradic
#895BF8 #F85B7C #CAF85B #5BF8D8
square
#895BF8 #F85B7C #CAF85B #5BF8D8
split-complementary
#895BF8 #F8D85B #7CF85B
monochromatic
#4309D0 #5F20F5 #895BF8 #B396FB #DDD0FD

Accessibility & contrast

On white

4.27
#895BF8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#895BF8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #895BF8
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##895BF8#FFFFFF#000000##000000
##895BF81.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #895bf8;
/* rgb */ color: rgb(137, 91, 248);
/* oklch */ color: oklch(60.4% 0.222 291.8);
Tailwind
colors: {
  custom: {
    50: '#b38cfc',
    500: '#895bf8',
    950: '#000000',
  },
}
SCSS
$custom: #895bf8;
$custom-light: #b38cfc;
$custom-dark: #000000;
JSON
{
  "hex": "#895bf8",
  "rgb": {
    "r": 137,
    "g": 91,
    "b": 248
  },
  "hsl": {
    "h": 257.58,
    "s": 91.813,
    "l": 66.471
  },
  "oklch": {
    "l": 0.6038,
    "c": 0.22246,
    "h": 291.8
  },
  "luminance": 0.19578
}

Semantic roles & 50–950 ramp

primary
#895BF8
secondary
#E2F1BE
accent
#E600A2
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#120C18
muted
#817D86

Preview Lab

Preview with #895BF8

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

Preview Lab → · Contrast checker → · Palette generator →

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