#895FD7#895FD7

#895FD7 is a mid, vivid violet. Relative luminance 0.184; OKLCH L 58.7% C 0.177 H 296.7°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#895FD7
RGBrgb(137, 95, 215)
HSLhsl(261, 60%, 61%)
HSVhsv(261, 56%, 84%)
CMYKcmyk(36.3%, 55.8%, 0%, 15.7%)
CIE-LABlab(49.99, 42.91, -55.85)
CIE-LCHlch(49.99, 70.43, 307.54°)
OKLaboklab(58.69% 0.0797 -0.1584)
OKLCHoklch(58.69% 0.177 296.7)
XYZxyz(26.6714, 18.4087, 66.4248)
Luminance0.1841 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#895FD7 #ADD75F
analogous
#5F71D7 #895FD7 #C55FD7
triadic
#895FD7 #D7895F #5FD789
tetradic
#895FD7 #D75F71 #ADD75F #5FD7C5
square
#895FD7 #D75F71 #ADD75F #5FD7C5
split-complementary
#895FD7 #D7C55F #71D75F
monochromatic
#4D2696 #6632C7 #895FD7 #AD90E3 #D1C1EF

Accessibility & contrast

On white

4.49
#895FD7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#895FD7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #895FD7
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##895FD7#FFFFFF#000000##000000
##895FD71.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2677DB
Deuteranopia (green-blind)
#3575D4
Tritanopia (blue-blind)
#777892
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #895fd7;
/* rgb */ color: rgb(137, 95, 215);
/* oklch */ color: oklch(58.7% 0.177 296.7);
Tailwind
colors: {
  custom: {
    50: '#b08ee4',
    500: '#895fd7',
    950: '#000000',
  },
}
SCSS
$custom: #895fd7;
$custom-light: #b08ee4;
$custom-dark: #000000;
JSON
{
  "hex": "#895fd7",
  "rgb": {
    "r": 137,
    "g": 95,
    "b": 215
  },
  "hsl": {
    "h": 261,
    "s": 60,
    "l": 60.784
  },
  "oklch": {
    "l": 0.58687,
    "c": 0.17731,
    "h": 296.7
  },
  "luminance": 0.18409
}

Semantic roles & 50–950 ramp

primary
#895FD7
secondary
#D0E0B2
accent
#C81E8C
background
#FBF8FE
surface
#F6F0FC
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #895FD7

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

Preview Lab → · Contrast checker → · Palette generator →

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