#895FFB#895FFB

#895FFB is a mid, highly saturated violet. Relative luminance 0.205; OKLCH L 61.2% C 0.221 H 290.8°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#895FFB
RGBrgb(137, 95, 251)
HSLhsl(256, 95%, 68%)
HSVhsv(256, 62%, 98%)
CMYKcmyk(45.4%, 62.2%, 0%, 1.6%)
CIE-LABlab(52.36, 52.51, -72.25)
CIE-LCHlch(52.36, 89.32, 306.01°)
OKLaboklab(61.18% 0.0784 -0.2066)
OKLCHoklch(61.18% 0.221 290.8)
XYZxyz(31.8164, 20.4667, 93.5222)
Luminance0.2047 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#895FFB #D1FB5F
analogous
#5F83FB #895FFB #D75FFB
triadic
#895FFB #FB895F #5FFB89
tetradic
#895FFB #FB5F83 #D1FB5F #5FFBD7
square
#895FFB #FB5F83 #D1FB5F #5FFBD7
split-complementary
#895FFB #FBD75F #83FB5F
monochromatic
#3F05DA #5D23FA #895FFB #B59BFC #E1D6FE

Accessibility & contrast

On white

4.12
#895FFB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#895FFB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #895FFB
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##895FFB#FFFFFF#000000##000000
##895FFB1.004.125.095.09
#FFFFFF4.121.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0080FF
Deuteranopia (green-blind)
#0079F8
Tritanopia (blue-blind)
#6684A4
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #895ffb;
/* rgb */ color: rgb(137, 95, 251);
/* oklch */ color: oklch(61.2% 0.221 290.8);
Tailwind
colors: {
  custom: {
    50: '#b38efe',
    500: '#895ffb',
    950: '#000000',
  },
}
SCSS
$custom: #895ffb;
$custom-light: #b38efe;
$custom-dark: #000000;
JSON
{
  "hex": "#895ffb",
  "rgb": {
    "r": 137,
    "g": 95,
    "b": 251
  },
  "hsl": {
    "h": 256.154,
    "s": 95.122,
    "l": 67.843
  },
  "oklch": {
    "l": 0.61176,
    "c": 0.22099,
    "h": 290.8
  },
  "luminance": 0.20468
}

Semantic roles & 50–950 ramp

primary
#895FFB
secondary
#E6F3C3
accent
#E600A8
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#120C18
muted
#817D86

Preview Lab

Preview with #895FFB

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

Preview Lab → · Contrast checker → · Palette generator →

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