#895AF6#895AF6

#895AF6 is a mid, highly saturated violet. Relative luminance 0.193; OKLCH L 60.1% C 0.221 H 292.3°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#895AF6
RGBrgb(137, 90, 246)
HSLhsl(258, 90%, 66%)
HSVhsv(258, 63%, 96%)
CMYKcmyk(44.3%, 63.4%, 0%, 3.5%)
CIE-LABlab(51.02, 53.83, -71.65)
CIE-LCHlch(51.02, 89.62, 306.92°)
OKLaboklab(60.09% 0.084 -0.2048)
OKLCHoklch(60.09% 0.221 292.3)
XYZxyz(30.6027, 19.2835, 89.2806)
Luminance0.1928 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#895AF6 #C7F65A
analogous
#5A79F6 #895AF6 #D75AF6
triadic
#895AF6 #F6895A #5AF689
tetradic
#895AF6 #F65A79 #C7F65A #5AF6D7
square
#895AF6 #F65A79 #C7F65A #5AF6D7
split-complementary
#895AF6 #F6D75A #79F65A
monochromatic
#450BCB #5F20F3 #895AF6 #B394F9 #DCCEFC

Accessibility & contrast

On white

4.32
#895AF6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#895AF6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #895AF6
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##895AF6#FFFFFF#000000##000000
##895AF61.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CFB
Deuteranopia (green-blind)
#0076F3
Tritanopia (blue-blind)
#697FA0
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #895af6;
/* rgb */ color: rgb(137, 90, 246);
/* oklch */ color: oklch(60.1% 0.221 292.3);
Tailwind
colors: {
  custom: {
    50: '#b38bfa',
    500: '#895af6',
    950: '#000000',
  },
}
SCSS
$custom: #895af6;
$custom-light: #b38bfa;
$custom-dark: #000000;
JSON
{
  "hex": "#895af6",
  "rgb": {
    "r": 137,
    "g": 90,
    "b": 246
  },
  "hsl": {
    "h": 258.077,
    "s": 89.655,
    "l": 65.882
  },
  "oklch": {
    "l": 0.60091,
    "c": 0.22138,
    "h": 292.3
  },
  "luminance": 0.19285
}

Semantic roles & 50–950 ramp

primary
#895AF6
secondary
#E0F0BC
accent
#E600A0
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#120C17
muted
#817D85

Preview Lab

Preview with #895AF6

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

Preview Lab → · Contrast checker → · Palette generator →

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