#895CF7#895CF7

#895CF7 is a mid, highly saturated violet. Relative luminance 0.197; OKLCH L 60.4% C 0.220 H 291.8°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#895CF7
RGBrgb(137, 92, 247)
HSLhsl(257, 91%, 66%)
HSVhsv(257, 63%, 97%)
CMYKcmyk(44.5%, 62.8%, 0%, 3.1%)
CIE-LABlab(51.48, 53.04, -71.45)
CIE-LCHlch(51.48, 88.99, 306.59°)
OKLaboklab(60.45% 0.0818 -0.2042)
OKLCHoklch(60.45% 0.22 291.8)
XYZxyz(30.9275, 19.6870, 90.1481)
Luminance0.1969 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#895CF7 #CAF75C
analogous
#5C7DF7 #895CF7 #D65CF7
triadic
#895CF7 #F7895C #5CF789
tetradic
#895CF7 #F75C7D #CAF75C #5CF7D6
square
#895CF7 #F75C7D #CAF75C #5CF7D6
split-complementary
#895CF7 #F7D65C #7DF75C
monochromatic
#430ACE #5F22F4 #895CF7 #B396FA #DDD1FD

Accessibility & contrast

On white

4.25
#895CF7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#895CF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #895CF7
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##895CF7#FFFFFF#000000##000000
##895CF71.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DFC
Deuteranopia (green-blind)
#0077F4
Tritanopia (blue-blind)
#6880A1
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #895cf7;
/* rgb */ color: rgb(137, 92, 247);
/* oklch */ color: oklch(60.4% 0.220 291.8);
Tailwind
colors: {
  custom: {
    50: '#b38cfb',
    500: '#895cf7',
    950: '#000000',
  },
}
SCSS
$custom: #895cf7;
$custom-light: #b38cfb;
$custom-dark: #000000;
JSON
{
  "hex": "#895cf7",
  "rgb": {
    "r": 137,
    "g": 92,
    "b": 247
  },
  "hsl": {
    "h": 257.419,
    "s": 90.643,
    "l": 66.471
  },
  "oklch": {
    "l": 0.60449,
    "c": 0.22004,
    "h": 291.8
  },
  "luminance": 0.19688
}

Semantic roles & 50–950 ramp

primary
#895CF7
secondary
#E2F1BE
accent
#E600A3
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#120C17
muted
#817D85

Preview Lab

Preview with #895CF7

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

Preview Lab → · Contrast checker → · Palette generator →

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