#895CCB#895CCB

#895CCB is a mid, vivid violet. Relative luminance 0.173; OKLCH L 57.4% C 0.167 H 299.9°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#895CCB
RGBrgb(137, 92, 203)
HSLhsl(264, 52%, 58%)
HSVhsv(264, 55%, 80%)
CMYKcmyk(32.5%, 54.7%, 0%, 20.4%)
CIE-LABlab(48.62, 41.50, -51.19)
CIE-LCHlch(48.62, 65.90, 309.03°)
OKLaboklab(57.44% 0.0831 -0.1447)
OKLCHoklch(57.44% 0.167 299.9)
XYZxyz(24.9206, 17.2843, 58.5116)
Luminance0.1728 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#895CCB #9ECB5C
analogous
#5C67CB #895CCB #C05CCB
triadic
#895CCB #CB895C #5CCB89
tetradic
#895CCB #CB5C67 #9ECB5C #5CCBC0
square
#895CCB #CB5C67 #9ECB5C #5CCBC0
split-complementary
#895CCB #CBC05C #67CB5C
monochromatic
#4E2A83 #6939B1 #895CCB #AB8ADA #CCB9E9

Accessibility & contrast

On white

4.71
#895CCB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#895CCB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #895CCB
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##895CCB#FFFFFF#000000##FFFFFF
##895CCB1.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F73CF
Deuteranopia (green-blind)
#3E73C8
Tritanopia (blue-blind)
#7B728B
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #895ccb;
/* rgb */ color: rgb(137, 92, 203);
/* oklch */ color: oklch(57.4% 0.167 299.9);
Tailwind
colors: {
  custom: {
    50: '#af8bdb',
    500: '#895ccb',
    950: '#000000',
  },
}
SCSS
$custom: #895ccb;
$custom-light: #af8bdb;
$custom-dark: #000000;
JSON
{
  "hex": "#895ccb",
  "rgb": {
    "r": 137,
    "g": 92,
    "b": 203
  },
  "hsl": {
    "h": 264.324,
    "s": 51.628,
    "l": 57.843
  },
  "oklch": {
    "l": 0.57442,
    "c": 0.1669,
    "h": 299.9
  },
  "luminance": 0.17284
}

Semantic roles & 50–950 ramp

primary
#895CCB
secondary
#C6D8AB
accent
#DB4DA1
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #895CCB

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

Preview Lab → · Contrast checker → · Palette generator →

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