#895FF2#895FF2

#895FF2 is a mid, highly saturated violet. Relative luminance 0.199; OKLCH L 60.5% C 0.210 H 292.1°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#895FF2
RGBrgb(137, 95, 242)
HSLhsl(257, 85%, 66%)
HSVhsv(257, 61%, 95%)
CMYKcmyk(43.4%, 60.7%, 0%, 5.1%)
CIE-LABlab(51.74, 50.08, -68.25)
CIE-LCHlch(51.74, 84.65, 306.27°)
OKLaboklab(60.53% 0.0791 -0.1948)
OKLCHoklch(60.53% 0.21 292.1)
XYZxyz(30.4313, 19.9126, 86.2273)
Luminance0.1991 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#895FF2 #C8F25F
analogous
#5F7EF2 #895FF2 #D25FF2
triadic
#895FF2 #F2895F #5FF289
tetradic
#895FF2 #F25F7E #C8F25F #5FF2D2
square
#895FF2 #F25F7E #C8F25F #5FF2D2
split-complementary
#895FF2 #F2D25F #7EF25F
monochromatic
#4410C6 #5F26ED #895FF2 #B398F7 #DCD0FB

Accessibility & contrast

On white

4.21
#895FF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#895FF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #895FF2
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##895FF2#FFFFFF#000000##000000
##895FF21.004.214.984.98
#FFFFFF4.211.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DF7
Deuteranopia (green-blind)
#0078EF
Tritanopia (blue-blind)
#6B81A0
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #895ff2;
/* rgb */ color: rgb(137, 95, 242);
/* oklch */ color: oklch(60.5% 0.210 292.1);
Tailwind
colors: {
  custom: {
    50: '#b28ef7',
    500: '#895ff2',
    950: '#000000',
  },
}
SCSS
$custom: #895ff2;
$custom-light: #b28ef7;
$custom-dark: #000000;
JSON
{
  "hex": "#895ff2",
  "rgb": {
    "r": 137,
    "g": 95,
    "b": 242
  },
  "hsl": {
    "h": 257.143,
    "s": 84.971,
    "l": 66.078
  },
  "oklch": {
    "l": 0.60526,
    "c": 0.21026,
    "h": 292.1
  },
  "luminance": 0.19914
}

Semantic roles & 50–950 ramp

primary
#895FF2
secondary
#E1EFBE
accent
#E104A2
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#120C17
muted
#817D85

Preview Lab

Preview with #895FF2

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

Preview Lab → · Contrast checker → · Palette generator →

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