#895FDB#895FDB

#895FDB is a mid, vivid violet. Relative luminance 0.186; OKLCH L 58.9% C 0.182 H 295.9°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#895FDB
RGBrgb(137, 95, 219)
HSLhsl(260, 63%, 62%)
HSVhsv(260, 57%, 86%)
CMYKcmyk(37.4%, 56.6%, 0%, 14.1%)
CIE-LABlab(50.24, 43.96, -57.73)
CIE-LCHlch(50.24, 72.56, 307.29°)
OKLaboklab(58.95% 0.0797 -0.1639)
OKLCHoklch(58.95% 0.182 295.9)
XYZxyz(27.1916, 18.6168, 69.1649)
Luminance0.1862 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#895FDB #B1DB5F
analogous
#5F73DB #895FDB #C75FDB
triadic
#895FDB #DB895F #5FDB89
tetradic
#895FDB #DB5F73 #B1DB5F #5FDBC7
square
#895FDB #DB5F73 #B1DB5F #5FDBC7
split-complementary
#895FDB #DBC75F #73DB5F
monochromatic
#4C239C #652ECE #895FDB #AE91E6 #D3C3F1

Accessibility & contrast

On white

4.45
#895FDB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#895FDB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #895FDB
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##895FDB#FFFFFF#000000##000000
##895FDB1.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#1F78DF
Deuteranopia (green-blind)
#2F76D8
Tritanopia (blue-blind)
#757994
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #895fdb;
/* rgb */ color: rgb(137, 95, 219);
/* oklch */ color: oklch(58.9% 0.182 295.9);
Tailwind
colors: {
  custom: {
    50: '#b08ee7',
    500: '#895fdb',
    950: '#000000',
  },
}
SCSS
$custom: #895fdb;
$custom-light: #b08ee7;
$custom-dark: #000000;
JSON
{
  "hex": "#895fdb",
  "rgb": {
    "r": 137,
    "g": 95,
    "b": 219
  },
  "hsl": {
    "h": 260.323,
    "s": 63.265,
    "l": 61.569
  },
  "oklch": {
    "l": 0.58948,
    "c": 0.18226,
    "h": 295.9
  },
  "luminance": 0.18617
}

Semantic roles & 50–950 ramp

primary
#895FDB
secondary
#D2E2B4
accent
#CB1A8F
background
#FBF8FE
surface
#F6F0FC
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #895FDB

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

Preview Lab → · Contrast checker → · Palette generator →

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