#893EBB#893EBB

#893EBB is a mid, vivid violet. Relative luminance 0.124; OKLCH L 52.1% C 0.192 H 308.7°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#893EBB
RGBrgb(137, 62, 187)
HSLhsl(276, 50%, 49%)
HSVhsv(276, 67%, 73%)
CMYKcmyk(26.7%, 66.8%, 0%, 26.7%)
CIE-LABlab(41.77, 53.30, -52.91)
CIE-LCHlch(41.77, 75.10, 315.21°)
OKLaboklab(52.13% 0.12 -0.1496)
OKLCHoklch(52.13% 0.192 308.7)
XYZxyz(21.0070, 12.3518, 48.2816)
Luminance0.1235 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#893EBB #70BB3E
analogous
#4B3EBB #893EBB #BB3EAF
triadic
#893EBB #BB893E #3EBB89
tetradic
#893EBB #BB4B3E #70BB3E #3EAFBB
square
#893EBB #BB4B3E #70BB3E #3EAFBB
split-complementary
#893EBB #AFBB3E #3EBB4B
monochromatic
#46205F #672F8D #893EBB #A569CD #C197DC

Accessibility & contrast

On white

6.05
#893EBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#893EBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #893EBB
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##893EBB#FFFFFF#000000##FFFFFF
##893EBB1.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060BF
Deuteranopia (green-blind)
#2763B8
Tritanopia (blue-blind)
#825877
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #893ebb;
/* rgb */ color: rgb(137, 62, 187);
/* oklch */ color: oklch(52.1% 0.192 308.7);
Tailwind
colors: {
  custom: {
    50: '#af79d0',
    500: '#893ebb',
    950: '#000000',
  },
}
SCSS
$custom: #893ebb;
$custom-light: #af79d0;
$custom-dark: #000000;
JSON
{
  "hex": "#893ebb",
  "rgb": {
    "r": 137,
    "g": 62,
    "b": 187
  },
  "hsl": {
    "h": 276,
    "s": 50.201,
    "l": 48.824
  },
  "oklch": {
    "l": 0.52134,
    "c": 0.19185,
    "h": 308.7
  },
  "luminance": 0.12351
}

Semantic roles & 50–950 ramp

primary
#893EBB
secondary
#A4C88D
accent
#DA4E86
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110914
muted
#807B82

Preview Lab

Preview with #893EBB

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

Preview Lab → · Contrast checker → · Palette generator →

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