#893EC2#893EC2

#893EC2 is a mid, vivid violet. Relative luminance 0.127; OKLCH L 52.6% C 0.199 H 306.8°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#893EC2
RGBrgb(137, 62, 194)
HSLhsl(274, 52%, 50%)
HSVhsv(274, 68%, 76%)
CMYKcmyk(29.4%, 68%, 0%, 23.9%)
CIE-LABlab(42.24, 54.89, -56.23)
CIE-LCHlch(42.24, 78.58, 314.31°)
OKLaboklab(52.63% 0.1193 -0.1594)
OKLCHoklch(52.63% 0.199 306.8)
XYZxyz(21.7747, 12.6589, 52.3248)
Luminance0.1266 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#893EC2 #77C23E
analogous
#473EC2 #893EC2 #C23EB9
triadic
#893EC2 #C2893E #3EC289
tetradic
#893EC2 #C2473E #77C23E #3EB9C2
square
#893EC2 #C2473E #77C23E #3EB9C2
split-complementary
#893EC2 #B9C23E #3EC247
monochromatic
#482066 #682F94 #893EC2 #A56DD1 #C29BDF

Accessibility & contrast

On white

5.95
#893EC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#893EC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #893EC2
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##893EC2#FFFFFF#000000##FFFFFF
##893EC21.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C6
Deuteranopia (green-blind)
#1A64BF
Tritanopia (blue-blind)
#7F5B7B
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #893ec2;
/* rgb */ color: rgb(137, 62, 194);
/* oklch */ color: oklch(52.6% 0.199 306.8);
Tailwind
colors: {
  custom: {
    50: '#b079d5',
    500: '#893ec2',
    950: '#000000',
  },
}
SCSS
$custom: #893ec2;
$custom-light: #b079d5;
$custom-dark: #000000;
JSON
{
  "hex": "#893ec2",
  "rgb": {
    "r": 137,
    "g": 62,
    "b": 194
  },
  "hsl": {
    "h": 274.091,
    "s": 51.969,
    "l": 50.196
  },
  "oklch": {
    "l": 0.52625,
    "c": 0.19913,
    "h": 306.8
  },
  "luminance": 0.12659
}

Semantic roles & 50–950 ramp

primary
#893EC2
secondary
#AACB90
accent
#DB4C8A
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110914
muted
#807B83

Preview Lab

Preview with #893EC2

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

Preview Lab → · Contrast checker → · Palette generator →

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