#893EB2#893EB2

#893EB2 is a mid, vivid violet. Relative luminance 0.120; OKLCH L 51.5% C 0.182 H 311.4°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#893EB2
RGBrgb(137, 62, 178)
HSLhsl(279, 48%, 47%)
HSVhsv(279, 65%, 70%)
CMYKcmyk(23%, 65.2%, 0%, 30.2%)
CIE-LABlab(41.18, 51.29, -48.56)
CIE-LCHlch(41.18, 70.63, 316.56°)
OKLaboklab(51.52% 0.1207 -0.1369)
OKLCHoklch(51.52% 0.182 311.4)
XYZxyz(20.0735, 11.9784, 43.3655)
Luminance0.1198 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#893EB2 #67B23E
analogous
#4F3EB2 #893EB2 #B23EA1
triadic
#893EB2 #B2893E #3EB289
tetradic
#893EB2 #B24F3E #67B23E #3EA1B2
square
#893EB2 #B24F3E #67B23E #3EA1B2
split-complementary
#893EB2 #A1B23E #3EB24F
monochromatic
#431E57 #662E85 #893EB2 #A564C9 #C092D9

Accessibility & contrast

On white

6.18
#893EB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#893EB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #893EB2
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##893EB2#FFFFFF#000000##FFFFFF
##893EB21.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DB6
Deuteranopia (green-blind)
#3263AF
Tritanopia (blue-blind)
#845572
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #893eb2;
/* rgb */ color: rgb(137, 62, 178);
/* oklch */ color: oklch(51.5% 0.182 311.4);
Tailwind
colors: {
  custom: {
    50: '#af78ca',
    500: '#893eb2',
    950: '#000000',
  },
}
SCSS
$custom: #893eb2;
$custom-light: #af78ca;
$custom-dark: #000000;
JSON
{
  "hex": "#893eb2",
  "rgb": {
    "r": 137,
    "g": 62,
    "b": 178
  },
  "hsl": {
    "h": 278.793,
    "s": 48.333,
    "l": 47.059
  },
  "oklch": {
    "l": 0.51523,
    "c": 0.18249,
    "h": 311.4
  },
  "luminance": 0.11978
}

Semantic roles & 50–950 ramp

primary
#893EB2
secondary
#9DC488
accent
#D85080
background
#FBF7FC
surface
#F6EEF8
border
#D0C9D1
text
#110913
muted
#807B82

Preview Lab

Preview with #893EB2

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

Preview Lab → · Contrast checker → · Palette generator →

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