#893FB7#893FB7

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

Color values

HEX#893FB7
RGBrgb(137, 63, 183)
HSLhsl(277, 49%, 48%)
HSVhsv(277, 66%, 72%)
CMYKcmyk(25.1%, 65.6%, 0%, 28.2%)
CIE-LABlab(41.68, 51.92, -50.71)
CIE-LCHlch(41.68, 72.58, 315.68°)
OKLaboklab(51.98% 0.1192 -0.1432)
OKLCHoklch(51.98% 0.186 309.8)
XYZxyz(20.6396, 12.2927, 46.0760)
Luminance0.1229 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#893FB7 #6DB73F
analogous
#4D3FB7 #893FB7 #B73FA9
triadic
#893FB7 #B7893F #3FB789
tetradic
#893FB7 #B74D3F #6DB73F #3FA9B7
square
#893FB7 #B74D3F #6DB73F #3FA9B7
split-complementary
#893FB7 #A9B73F #3FB74D
monochromatic
#45205C #672F89 #893FB7 #A568CB #C096DB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##893FB7#FFFFFF#000000##FFFFFF
##893FB71.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)
#005FBB
Deuteranopia (green-blind)
#2D63B4
Tritanopia (blue-blind)
#835875
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #893fb7;
/* rgb */ color: rgb(137, 63, 183);
/* oklch */ color: oklch(52.0% 0.186 309.8);
Tailwind
colors: {
  custom: {
    50: '#af79cd',
    500: '#893fb7',
    950: '#000000',
  },
}
SCSS
$custom: #893fb7;
$custom-light: #af79cd;
$custom-dark: #000000;
JSON
{
  "hex": "#893fb7",
  "rgb": {
    "r": 137,
    "g": 63,
    "b": 183
  },
  "hsl": {
    "h": 277,
    "s": 48.78,
    "l": 48.235
  },
  "oklch": {
    "l": 0.51983,
    "c": 0.18633,
    "h": 309.8
  },
  "luminance": 0.12292
}

Semantic roles & 50–950 ramp

primary
#893FB7
secondary
#A2C68B
accent
#D84F84
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110913
muted
#807B82

Preview Lab

Preview with #893FB7

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

Preview Lab → · Contrast checker → · Palette generator →

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