#893EBA#893EBA

#893EBA is a mid, vivid violet. Relative luminance 0.123; OKLCH L 52.1% C 0.191 H 309.0°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#893EBA
RGBrgb(137, 62, 186)
HSLhsl(276, 50%, 49%)
HSVhsv(276, 67%, 73%)
CMYKcmyk(26.3%, 66.7%, 0%, 27.1%)
CIE-LABlab(41.70, 53.07, -52.43)
CIE-LCHlch(41.70, 74.60, 315.35°)
OKLaboklab(52.07% 0.1201 -0.1482)
OKLCHoklch(52.07% 0.191 309)
XYZxyz(20.9003, 12.3092, 47.7197)
Luminance0.1231 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#893EBA #6FBA3E
analogous
#4B3EBA #893EBA #BA3EAD
triadic
#893EBA #BA893E #3EBA89
tetradic
#893EBA #BA4B3E #6FBA3E #3EADBA
square
#893EBA #BA4B3E #6FBA3E #3EADBA
split-complementary
#893EBA #ADBA3E #3EBA4B
monochromatic
#451F5E #672F8C #893EBA #A568CD #C196DC

Accessibility & contrast

On white

6.07
#893EBA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#893EBA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #893EBA
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##893EBA#FFFFFF#000000##FFFFFF
##893EBA1.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FBE
Deuteranopia (green-blind)
#2863B7
Tritanopia (blue-blind)
#825877
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #893eba;
/* rgb */ color: rgb(137, 62, 186);
/* oklch */ color: oklch(52.1% 0.191 309.0);
Tailwind
colors: {
  custom: {
    50: '#af79cf',
    500: '#893eba',
    950: '#000000',
  },
}
SCSS
$custom: #893eba;
$custom-light: #af79cf;
$custom-dark: #000000;
JSON
{
  "hex": "#893eba",
  "rgb": {
    "r": 137,
    "g": 62,
    "b": 186
  },
  "hsl": {
    "h": 276.29,
    "s": 50,
    "l": 48.627
  },
  "oklch": {
    "l": 0.52065,
    "c": 0.19081,
    "h": 309
  },
  "luminance": 0.12309
}

Semantic roles & 50–950 ramp

primary
#893EBA
secondary
#A4C88C
accent
#DA4E85
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110914
muted
#807B82

Preview Lab

Preview with #893EBA

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

Preview Lab → · Contrast checker → · Palette generator →

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