#895DF7#895DF7

#895DF7 is a mid, highly saturated violet. Relative luminance 0.199; OKLCH L 60.6% C 0.219 H 291.7°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#895DF7
RGBrgb(137, 93, 247)
HSLhsl(257, 91%, 67%)
HSVhsv(257, 62%, 97%)
CMYKcmyk(44.5%, 62.3%, 0%, 3.1%)
CIE-LABlab(51.68, 52.50, -71.13)
CIE-LCHlch(51.68, 88.41, 306.43°)
OKLaboklab(60.59% 0.0808 -0.2033)
OKLCHoklch(60.59% 0.219 291.7)
XYZxyz(31.0147, 19.8614, 90.1772)
Luminance0.1986 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#895DF7 #CBF75D
analogous
#5D7EF7 #895DF7 #D65DF7
triadic
#895DF7 #F7895D #5DF789
tetradic
#895DF7 #F75D7E #CBF75D #5DF7D6
square
#895DF7 #F75D7E #CBF75D #5DF7D6
split-complementary
#895DF7 #F7D65D #7EF75D
monochromatic
#430ACF #5F23F4 #895DF7 #B397FA #DED2FD

Accessibility & contrast

On white

4.22
#895DF7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#895DF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #895DF7
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##895DF7#FFFFFF#000000##000000
##895DF71.004.224.974.97
#FFFFFF4.221.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EFC
Deuteranopia (green-blind)
#0078F4
Tritanopia (blue-blind)
#6881A2
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #895df7;
/* rgb */ color: rgb(137, 93, 247);
/* oklch */ color: oklch(60.6% 0.219 291.7);
Tailwind
colors: {
  custom: {
    50: '#b38dfb',
    500: '#895df7',
    950: '#000000',
  },
}
SCSS
$custom: #895df7;
$custom-light: #b38dfb;
$custom-dark: #000000;
JSON
{
  "hex": "#895df7",
  "rgb": {
    "r": 137,
    "g": 93,
    "b": 247
  },
  "hsl": {
    "h": 257.143,
    "s": 90.588,
    "l": 66.667
  },
  "oklch": {
    "l": 0.60593,
    "c": 0.21878,
    "h": 291.7
  },
  "luminance": 0.19862
}

Semantic roles & 50–950 ramp

primary
#895DF7
secondary
#E3F1BF
accent
#E600A4
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#120C17
muted
#817D85

Preview Lab

Preview with #895DF7

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

Preview Lab → · Contrast checker → · Palette generator →

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