#895FD2#895FD2

#895FD2 is a mid, vivid violet. Relative luminance 0.182; OKLCH L 58.4% C 0.171 H 297.7°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#895FD2
RGBrgb(137, 95, 210)
HSLhsl(262, 56%, 60%)
HSVhsv(262, 55%, 82%)
CMYKcmyk(34.8%, 54.8%, 0%, 17.6%)
CIE-LABlab(49.68, 41.61, -53.49)
CIE-LCHlch(49.68, 67.77, 307.88°)
OKLaboklab(58.37% 0.0796 -0.1515)
OKLCHoklch(58.37% 0.171 297.7)
XYZxyz(26.0387, 18.1556, 63.0928)
Luminance0.1816 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#895FD2 #A8D25F
analogous
#5F6FD2 #895FD2 #C35FD2
triadic
#895FD2 #D2895F #5FD289
tetradic
#895FD2 #D25F6F #A8D25F #5FD2C3
square
#895FD2 #D25F6F #A8D25F #5FD2C3
split-complementary
#895FD2 #D2C35F #6FD25F
monochromatic
#4D288F #6736BE #895FD2 #AC8FDF #CFBFED

Accessibility & contrast

On white

4.53
#895FD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#895FD2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #895FD2
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##895FD2#FFFFFF#000000##000000
##895FD21.004.534.634.63
#FFFFFF4.531.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D76D6
Deuteranopia (green-blind)
#3B75CF
Tritanopia (blue-blind)
#79768F
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #895fd2;
/* rgb */ color: rgb(137, 95, 210);
/* oklch */ color: oklch(58.4% 0.171 297.7);
Tailwind
colors: {
  custom: {
    50: '#af8ee0',
    500: '#895fd2',
    950: '#000000',
  },
}
SCSS
$custom: #895fd2;
$custom-light: #af8ee0;
$custom-dark: #000000;
JSON
{
  "hex": "#895fd2",
  "rgb": {
    "r": 137,
    "g": 95,
    "b": 210
  },
  "hsl": {
    "h": 261.913,
    "s": 56.098,
    "l": 59.804
  },
  "oklch": {
    "l": 0.58365,
    "c": 0.17109,
    "h": 297.7
  },
  "luminance": 0.18156
}

Semantic roles & 50–950 ramp

primary
#895FD2
secondary
#CCDDB0
accent
#DF48A8
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #895FD2

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

Preview Lab → · Contrast checker → · Palette generator →

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