#895DFD#895DFD

#895DFD is a mid, highly saturated violet. Relative luminance 0.202; OKLCH L 61.0% C 0.226 H 290.8°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#895DFD
RGBrgb(137, 93, 253)
HSLhsl(257, 98%, 68%)
HSVhsv(257, 63%, 99%)
CMYKcmyk(45.8%, 63.2%, 0%, 0.8%)
CIE-LABlab(52.10, 54.12, -73.78)
CIE-LCHlch(52.10, 91.50, 306.26°)
OKLaboklab(61.04% 0.0803 -0.2111)
OKLCHoklch(61.04% 0.226 290.8)
XYZxyz(31.9555, 20.2378, 95.1320)
Luminance0.2024 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#895DFD #D1FD5D
analogous
#5D81FD #895DFD #D95DFD
triadic
#895DFD #FD895D #5DFD89
tetradic
#895DFD #FD5D81 #D1FD5D #5DFDD9
square
#895DFD #FD5D81 #D1FD5D #5DFDD9
split-complementary
#895DFD #FDD95D #81FD5D
monochromatic
#3F03DD #5D21FC #895DFD #B599FE #E1D6FE

Accessibility & contrast

On white

4.16
#895DFD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#895DFD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #895DFD
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##895DFD#FFFFFF#000000##000000
##895DFD1.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FFF
Deuteranopia (green-blind)
#0079FA
Tritanopia (blue-blind)
#6583A5
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #895dfd;
/* rgb */ color: rgb(137, 93, 253);
/* oklch */ color: oklch(61.0% 0.226 290.8);
Tailwind
colors: {
  custom: {
    50: '#b38dff',
    500: '#895dfd',
    950: '#000000',
  },
}
SCSS
$custom: #895dfd;
$custom-light: #b38dff;
$custom-dark: #000000;
JSON
{
  "hex": "#895dfd",
  "rgb": {
    "r": 137,
    "g": 93,
    "b": 253
  },
  "hsl": {
    "h": 256.5,
    "s": 97.561,
    "l": 67.843
  },
  "oklch": {
    "l": 0.61035,
    "c": 0.22584,
    "h": 290.8
  },
  "luminance": 0.20239
}

Semantic roles & 50–950 ramp

primary
#895DFD
secondary
#E6F4C2
accent
#E600A6
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#120C18
muted
#817D86

Preview Lab

Preview with #895DFD

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

Preview Lab → · Contrast checker → · Palette generator →

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