#895CEC#895CEC

#895CEC is a mid, highly saturated violet. Relative luminance 0.190; OKLCH L 59.7% C 0.207 H 293.5°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#895CEC
RGBrgb(137, 92, 236)
HSLhsl(259, 79%, 64%)
HSVhsv(259, 61%, 93%)
CMYKcmyk(41.9%, 61%, 0%, 7.5%)
CIE-LABlab(50.72, 50.10, -66.54)
CIE-LCHlch(50.72, 83.29, 306.98°)
OKLaboklab(59.66% 0.0827 -0.1898)
OKLCHoklch(59.66% 0.207 293.5)
XYZxyz(29.2799, 19.0280, 81.4707)
Luminance0.1903 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#895CEC #BFEC5C
analogous
#5C77EC #895CEC #D15CEC
triadic
#895CEC #EC895C #5CEC89
tetradic
#895CEC #EC5C77 #BFEC5C #5CECD1
square
#895CEC #EC5C77 #BFEC5C #5CECD1
split-complementary
#895CEC #ECD15C #77EC5C
monochromatic
#4815B8 #6125E6 #895CEC #B193F2 #D8CAF9

Accessibility & contrast

On white

4.37
#895CEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#895CEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #895CEC
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##895CEC#FFFFFF#000000##000000
##895CEC1.004.374.814.81
#FFFFFF4.371.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AF1
Deuteranopia (green-blind)
#0076E9
Tritanopia (blue-blind)
#6E7D9B
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #895cec;
/* rgb */ color: rgb(137, 92, 236);
/* oklch */ color: oklch(59.7% 0.207 293.5);
Tailwind
colors: {
  custom: {
    50: '#b28cf3',
    500: '#895cec',
    950: '#000000',
  },
}
SCSS
$custom: #895cec;
$custom-light: #b28cf3;
$custom-dark: #000000;
JSON
{
  "hex": "#895cec",
  "rgb": {
    "r": 137,
    "g": 92,
    "b": 236
  },
  "hsl": {
    "h": 258.75,
    "s": 79.121,
    "l": 64.314
  },
  "oklch": {
    "l": 0.59656,
    "c": 0.20701,
    "h": 293.5
  },
  "luminance": 0.19029
}

Semantic roles & 50–950 ramp

primary
#895CEC
secondary
#DBEBB9
accent
#DB0A9A
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C17
muted
#807D85

Preview Lab

Preview with #895CEC

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

Preview Lab → · Contrast checker → · Palette generator →

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