#895DCB#895DCB

#895DCB is a mid, vivid violet. Relative luminance 0.175; OKLCH L 57.6% C 0.165 H 299.7°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#895DCB
RGBrgb(137, 93, 203)
HSLhsl(264, 51%, 58%)
HSVhsv(264, 54%, 80%)
CMYKcmyk(32.5%, 54.2%, 0%, 20.4%)
CIE-LABlab(48.83, 40.94, -50.85)
CIE-LCHlch(48.83, 65.28, 308.84°)
OKLaboklab(57.6% 0.0819 -0.1437)
OKLCHoklch(57.6% 0.165 299.7)
XYZxyz(25.0078, 17.4587, 58.5407)
Luminance0.1746 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#895DCB #9FCB5D
analogous
#5D68CB #895DCB #C05DCB
triadic
#895DCB #CB895D #5DCB89
tetradic
#895DCB #CB5D68 #9FCB5D #5DCBC0
square
#895DCB #CB5D68 #9FCB5D #5DCBC0
split-complementary
#895DCB #CBC05D #68CB5D
monochromatic
#4E2A83 #6939B2 #895DCB #AB8BDA #CCBAE9

Accessibility & contrast

On white

4.68
#895DCB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#895DCB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #895DCB
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##895DCB#FFFFFF#000000##FFFFFF
##895DCB1.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3174CF
Deuteranopia (green-blind)
#3F73C8
Tritanopia (blue-blind)
#7B738B
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #895dcb;
/* rgb */ color: rgb(137, 93, 203);
/* oklch */ color: oklch(57.6% 0.165 299.7);
Tailwind
colors: {
  custom: {
    50: '#af8cdb',
    500: '#895dcb',
    950: '#000000',
  },
}
SCSS
$custom: #895dcb;
$custom-light: #af8cdb;
$custom-dark: #000000;
JSON
{
  "hex": "#895dcb",
  "rgb": {
    "r": 137,
    "g": 93,
    "b": 203
  },
  "hsl": {
    "h": 264,
    "s": 51.402,
    "l": 58.039
  },
  "oklch": {
    "l": 0.57602,
    "c": 0.16538,
    "h": 299.7
  },
  "luminance": 0.17459
}

Semantic roles & 50–950 ramp

primary
#895DCB
secondary
#C6D8AC
accent
#DB4DA2
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #895DCB

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

Preview Lab → · Contrast checker → · Palette generator →

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