#895FEB#895FEB

#895FEB is a mid, highly saturated violet. Relative luminance 0.195; OKLCH L 60.0% C 0.202 H 293.2°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#895FEB
RGBrgb(137, 95, 235)
HSLhsl(258, 78%, 65%)
HSVhsv(258, 60%, 92%)
CMYKcmyk(41.7%, 59.6%, 0%, 7.8%)
CIE-LABlab(51.27, 48.20, -65.09)
CIE-LCHlch(51.27, 80.99, 306.52°)
OKLaboklab(60.03% 0.0794 -0.1855)
OKLCHoklch(60.03% 0.202 293.2)
XYZxyz(29.4001, 19.5001, 80.7960)
Luminance0.1950 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#895FEB #C1EB5F
analogous
#5F7BEB #895FEB #CF5FEB
triadic
#895FEB #EB895F #5FEB89
tetradic
#895FEB #EB5F7B #C1EB5F #5FEBCF
square
#895FEB #EB5F7B #C1EB5F #5FEBCF
split-complementary
#895FEB #EBCF5F #7BEB5F
monochromatic
#4817B9 #6129E4 #895FEB #B195F2 #D9CCF9

Accessibility & contrast

On white

4.29
#895FEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#895FEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #895FEB
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##895FEB#FFFFFF#000000##000000
##895FEB1.004.294.904.90
#FFFFFF4.291.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CF0
Deuteranopia (green-blind)
#0378E8
Tritanopia (blue-blind)
#6E7E9C
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #895feb;
/* rgb */ color: rgb(137, 95, 235);
/* oklch */ color: oklch(60.0% 0.202 293.2);
Tailwind
colors: {
  custom: {
    50: '#b18ef2',
    500: '#895feb',
    950: '#000000',
  },
}
SCSS
$custom: #895feb;
$custom-light: #b18ef2;
$custom-dark: #000000;
JSON
{
  "hex": "#895feb",
  "rgb": {
    "r": 137,
    "g": 95,
    "b": 235
  },
  "hsl": {
    "h": 258,
    "s": 77.778,
    "l": 64.706
  },
  "oklch": {
    "l": 0.60033,
    "c": 0.20182,
    "h": 293.2
  },
  "luminance": 0.19501
}

Semantic roles & 50–950 ramp

primary
#895FEB
secondary
#DDEBBB
accent
#DA0B9C
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C17
muted
#807D85

Preview Lab

Preview with #895FEB

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

Preview Lab → · Contrast checker → · Palette generator →

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