#893DD4#893DD4

#893DD4 is a mid, highly saturated violet. Relative luminance 0.134; OKLCH L 53.8% C 0.219 H 302.5°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#893DD4
RGBrgb(137, 61, 212)
HSLhsl(270, 64%, 54%)
HSVhsv(270, 71%, 83%)
CMYKcmyk(35.4%, 71.2%, 0%, 16.9%)
CIE-LABlab(43.37, 59.52, -64.82)
CIE-LCHlch(43.37, 88.00, 312.56°)
OKLaboklab(53.84% 0.1177 -0.1847)
OKLCHoklch(53.84% 0.219 302.5)
XYZxyz(23.8661, 13.4093, 63.6055)
Luminance0.1341 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#893DD4 #88D43D
analogous
#3D3DD4 #893DD4 #D43DD3
triadic
#893DD4 #D4893D #3DD489
tetradic
#893DD4 #D43D3D #88D43D #3DD3D4
square
#893DD4 #D43D3D #88D43D #3DD3D4
split-complementary
#893DD4 #D3D43D #3DD43D
monochromatic
#4C1B7B #6A26AD #893DD4 #A76FDF #C6A1EA

Accessibility & contrast

On white

5.70
#893DD4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#893DD4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #893DD4
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##893DD4#FFFFFF#000000##FFFFFF
##893DD41.005.703.685.70
#FFFFFF5.701.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D8
Deuteranopia (green-blind)
#0066D1
Tritanopia (blue-blind)
#796285
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #893dd4;
/* rgb */ color: rgb(137, 61, 212);
/* oklch */ color: oklch(53.8% 0.219 302.5);
Tailwind
colors: {
  custom: {
    50: '#b179e2',
    500: '#893dd4',
    950: '#000000',
  },
}
SCSS
$custom: #893dd4;
$custom-light: #b179e2;
$custom-dark: #000000;
JSON
{
  "hex": "#893dd4",
  "rgb": {
    "r": 137,
    "g": 61,
    "b": 212
  },
  "hsl": {
    "h": 270.199,
    "s": 63.713,
    "l": 53.529
  },
  "oklch": {
    "l": 0.53836,
    "c": 0.21898,
    "h": 302.5
  },
  "luminance": 0.13409
}

Semantic roles & 50–950 ramp

primary
#893DD4
secondary
#B6D796
accent
#E74193
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#110915
muted
#807B84

Preview Lab

Preview with #893DD4

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

Preview Lab → · Contrast checker → · Palette generator →

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