#893FBE#893FBE

#893FBE is a mid, vivid violet. Relative luminance 0.126; OKLCH L 52.5% C 0.194 H 307.8°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#893FBE
RGBrgb(137, 63, 190)
HSLhsl(275, 50%, 50%)
HSVhsv(275, 67%, 75%)
CMYKcmyk(27.9%, 66.8%, 0%, 25.5%)
CIE-LABlab(42.14, 53.51, -54.07)
CIE-LCHlch(42.14, 76.07, 314.70°)
OKLaboklab(52.46% 0.1186 -0.1531)
OKLCHoklch(52.46% 0.194 307.8)
XYZxyz(21.3864, 12.5914, 50.0090)
Luminance0.1259 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#893FBE #74BE3F
analogous
#4A3FBE #893FBE #BE3FB4
triadic
#893FBE #BE893F #3FBE89
tetradic
#893FBE #BE4A3F #74BE3F #3FB4BE
square
#893FBE #BE4A3F #74BE3F #3FB4BE
split-complementary
#893FBE #B4BE3F #3FBE4A
monochromatic
#472162 #683090 #893FBE #A56CCE #C19ADD

Accessibility & contrast

On white

5.97
#893FBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#893FBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #893FBE
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##893FBE#FFFFFF#000000##FFFFFF
##893FBE1.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C2
Deuteranopia (green-blind)
#2464BB
Tritanopia (blue-blind)
#815A79
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #893fbe;
/* rgb */ color: rgb(137, 63, 190);
/* oklch */ color: oklch(52.5% 0.194 307.8);
Tailwind
colors: {
  custom: {
    50: '#b079d2',
    500: '#893fbe',
    950: '#000000',
  },
}
SCSS
$custom: #893fbe;
$custom-light: #b079d2;
$custom-dark: #000000;
JSON
{
  "hex": "#893fbe",
  "rgb": {
    "r": 137,
    "g": 63,
    "b": 190
  },
  "hsl": {
    "h": 274.961,
    "s": 50.198,
    "l": 49.608
  },
  "oklch": {
    "l": 0.52464,
    "c": 0.19366,
    "h": 307.8
  },
  "luminance": 0.12591
}

Semantic roles & 50–950 ramp

primary
#893FBE
secondary
#A8C98F
accent
#DA4E88
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110914
muted
#807B83

Preview Lab

Preview with #893FBE

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

Preview Lab → · Contrast checker → · Palette generator →

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