#895FB2#895FB2

#895FB2 is a mid, vivid violet. Relative luminance 0.167; OKLCH L 56.5% C 0.131 H 306.0°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#895FB2
RGBrgb(137, 95, 178)
HSLhsl(270, 35%, 54%)
HSVhsv(270, 47%, 70%)
CMYKcmyk(23%, 46.6%, 0%, 30.2%)
CIE-LABlab(47.90, 33.60, -37.86)
CIE-LCHlch(47.90, 50.62, 311.59°)
OKLaboklab(56.46% 0.0768 -0.1058)
OKLCHoklch(56.46% 0.131 306)
XYZxyz(22.4430, 16.7173, 44.1553)
Luminance0.1672 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#895FB2 #88B25F
analogous
#5F5FB2 #895FB2 #B25FB1
triadic
#895FB2 #B2895F #5FB289
tetradic
#895FB2 #B25F5F #88B25F #5FB1B2
square
#895FB2 #B25F5F #88B25F #5FB1B2
split-complementary
#895FB2 #B1B25F #5FB25F
monochromatic
#4C3166 #6A458F #895FB2 #A788C6 #C6B2DA

Accessibility & contrast

On white

4.83
#895FB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#895FB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #895FB2
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##895FB2#FFFFFF#000000##FFFFFF
##895FB21.004.834.344.83
#FFFFFF4.831.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4970B5
Deuteranopia (green-blind)
#5472B0
Tritanopia (blue-blind)
#836D80
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #895fb2;
/* rgb */ color: rgb(137, 95, 178);
/* oklch */ color: oklch(56.5% 0.131 306.0);
Tailwind
colors: {
  custom: {
    50: '#ad8dc9',
    500: '#895fb2',
    950: '#000000',
  },
}
SCSS
$custom: #895fb2;
$custom-light: #ad8dc9;
$custom-dark: #000000;
JSON
{
  "hex": "#895fb2",
  "rgb": {
    "r": 137,
    "g": 95,
    "b": 178
  },
  "hsl": {
    "h": 270.361,
    "s": 35.021,
    "l": 53.529
  },
  "oklch": {
    "l": 0.56463,
    "c": 0.13074,
    "h": 306
  },
  "luminance": 0.16717
}

Semantic roles & 50–950 ramp

primary
#895FB2
secondary
#B6C8A5
accent
#CB5D93
background
#FAF8FC
surface
#F4F0F8
border
#CECBD1
text
#100C13
muted
#7F7D82

Preview Lab

Preview with #895FB2

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

Preview Lab → · Contrast checker → · Palette generator →

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