#895FE7#895FE7

#895FE7 is a mid, vivid violet. Relative luminance 0.193; OKLCH L 59.8% C 0.197 H 293.8°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#895FE7
RGBrgb(137, 95, 231)
HSLhsl(259, 74%, 64%)
HSVhsv(259, 59%, 91%)
CMYKcmyk(40.7%, 58.9%, 0%, 9.4%)
CIE-LABlab(51.00, 47.13, -63.27)
CIE-LCHlch(51.00, 78.90, 306.69°)
OKLaboklab(59.76% 0.0796 -0.1802)
OKLCHoklch(59.76% 0.197 293.8)
XYZxyz(28.8287, 19.2716, 77.7867)
Luminance0.1927 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#895FE7 #BDE75F
analogous
#5F79E7 #895FE7 #CD5FE7
triadic
#895FE7 #E7895F #5FE789
tetradic
#895FE7 #E75F79 #BDE75F #5FE7CD
square
#895FE7 #E75F79 #BDE75F #5FE7CD
split-complementary
#895FE7 #E7CD5F #79E75F
monochromatic
#491BB1 #622ADF #895FE7 #B094EF #D7C9F7

Accessibility & contrast

On white

4.33
#895FE7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#895FE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #895FE7
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##895FE7#FFFFFF#000000##000000
##895FE71.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BEB
Deuteranopia (green-blind)
#1677E4
Tritanopia (blue-blind)
#707D9A
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #895fe7;
/* rgb */ color: rgb(137, 95, 231);
/* oklch */ color: oklch(59.8% 0.197 293.8);
Tailwind
colors: {
  custom: {
    50: '#b18eef',
    500: '#895fe7',
    950: '#000000',
  },
}
SCSS
$custom: #895fe7;
$custom-light: #b18eef;
$custom-dark: #000000;
JSON
{
  "hex": "#895fe7",
  "rgb": {
    "r": 137,
    "g": 95,
    "b": 231
  },
  "hsl": {
    "h": 258.529,
    "s": 73.913,
    "l": 63.922
  },
  "oklch": {
    "l": 0.59757,
    "c": 0.19697,
    "h": 293.8
  },
  "luminance": 0.19272
}

Semantic roles & 50–950 ramp

primary
#895FE7
secondary
#DAE9B9
accent
#D60F99
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C17
muted
#807D85

Preview Lab

Preview with #895FE7

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

Preview Lab → · Contrast checker → · Palette generator →

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