#892DA8#892DA8

#892DA8 is a mid, vivid purple. Relative luminance 0.100; OKLCH L 49.0% C 0.194 H 316.1°. Best body text is #FFFFFF at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#892DA8
RGBrgb(137, 45, 168)
HSLhsl(285, 58%, 42%)
HSVhsv(285, 73%, 66%)
CMYKcmyk(18.5%, 73.2%, 0%, 34.1%)
CIE-LABlab(37.88, 56.58, -47.92)
CIE-LCHlch(37.88, 74.14, 319.74°)
OKLaboklab(48.95% 0.1401 -0.1349)
OKLCHoklch(48.95% 0.194 316.1)
XYZxyz(18.3217, 10.0230, 38.0077)
Luminance0.1002 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#892DA8 #4CA82D
analogous
#4C2DA8 #892DA8 #A82D8A
triadic
#892DA8 #A8892D #2DA889
tetradic
#892DA8 #A84C2D #4CA82D #2D8AA8
square
#892DA8 #A84C2D #4CA82D #2D8AA8
split-complementary
#892DA8 #8AA82D #2DA84C
monochromatic
#3A1347 #622078 #892DA8 #AB45CD #C175DA

Accessibility & contrast

On white

6.99
#892DA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.00
#892DA8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #892DA8
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##892DA8#FFFFFF#000000##FFFFFF
##892DA81.006.993.006.99
#FFFFFF6.991.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF6.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054AB
Deuteranopia (green-blind)
#2C5CA5
Tritanopia (blue-blind)
#874768
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #892da8;
/* rgb */ color: rgb(137, 45, 168);
/* oklch */ color: oklch(49.0% 0.194 316.1);
Tailwind
colors: {
  custom: {
    50: '#af6fc2',
    500: '#892da8',
    950: '#000000',
  },
}
SCSS
$custom: #892da8;
$custom-light: #af6fc2;
$custom-dark: #000000;
JSON
{
  "hex": "#892da8",
  "rgb": {
    "r": 137,
    "g": 45,
    "b": 168
  },
  "hsl": {
    "h": 284.878,
    "s": 57.746,
    "l": 41.765
  },
  "oklch": {
    "l": 0.48953,
    "c": 0.19448,
    "h": 316.1
  },
  "luminance": 0.10022
}

Semantic roles & 50–950 ramp

primary
#892DA8
secondary
#84C26F
accent
#E1476E
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110812
muted
#807B81

Preview Lab

Preview with #892DA8

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

Preview Lab → · Contrast checker → · Palette generator →

#892DA8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva