#893CB2#893CB2

#893CB2 is a mid, vivid violet. Relative luminance 0.118; OKLCH L 51.3% C 0.185 H 311.6°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#893CB2
RGBrgb(137, 60, 178)
HSLhsl(279, 50%, 47%)
HSVhsv(279, 66%, 70%)
CMYKcmyk(23%, 66.3%, 0%, 30.2%)
CIE-LABlab(40.84, 52.23, -49.11)
CIE-LCHlch(40.84, 71.69, 316.76°)
OKLaboklab(51.28% 0.123 -0.1385)
OKLCHoklch(51.28% 0.185 311.6)
XYZxyz(19.9668, 11.7649, 43.3299)
Luminance0.1176 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#893CB2 #65B23C
analogous
#4E3CB2 #893CB2 #B23CA0
triadic
#893CB2 #B2893C #3CB289
tetradic
#893CB2 #B24E3C #65B23C #3CA0B2
square
#893CB2 #B24E3C #65B23C #3CA0B2
split-complementary
#893CB2 #A0B23C #3CB24E
monochromatic
#431D56 #662D84 #893CB2 #A661CA #C08FD9

Accessibility & contrast

On white

6.26
#893CB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#893CB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #893CB2
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##893CB2#FFFFFF#000000##FFFFFF
##893CB21.006.263.356.26
#FFFFFF6.261.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DB6
Deuteranopia (green-blind)
#3062AF
Tritanopia (blue-blind)
#845472
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #893cb2;
/* rgb */ color: rgb(137, 60, 178);
/* oklch */ color: oklch(51.3% 0.185 311.6);
Tailwind
colors: {
  custom: {
    50: '#af77ca',
    500: '#893cb2',
    950: '#000000',
  },
}
SCSS
$custom: #893cb2;
$custom-light: #af77ca;
$custom-dark: #000000;
JSON
{
  "hex": "#893cb2",
  "rgb": {
    "r": 137,
    "g": 60,
    "b": 178
  },
  "hsl": {
    "h": 279.153,
    "s": 49.58,
    "l": 46.667
  },
  "oklch": {
    "l": 0.51277,
    "c": 0.18523,
    "h": 311.6
  },
  "luminance": 0.11764
}

Semantic roles & 50–950 ramp

primary
#893CB2
secondary
#9BC486
accent
#D94F7F
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110913
muted
#807B82

Preview Lab

Preview with #893CB2

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

Preview Lab → · Contrast checker → · Palette generator →

#893CB2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva