#892DA7#892DA7

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

Color values

HEX#892DA7
RGBrgb(137, 45, 167)
HSLhsl(285, 58%, 42%)
HSVhsv(285, 73%, 65%)
CMYKcmyk(18%, 73.1%, 0%, 34.5%)
CIE-LABlab(37.82, 56.37, -47.43)
CIE-LCHlch(37.82, 73.67, 319.93°)
OKLaboklab(48.88% 0.1402 -0.1335)
OKLCHoklch(48.88% 0.194 316.4)
XYZxyz(18.2289, 9.9859, 37.5190)
Luminance0.0998 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#892DA7 #4BA72D
analogous
#4C2DA7 #892DA7 #A72D88
triadic
#892DA7 #A7892D #2DA789
tetradic
#892DA7 #A74C2D #4BA72D #2D88A7
square
#892DA7 #A74C2D #4BA72D #2D88A7
split-complementary
#892DA7 #88A72D #2DA74C
monochromatic
#3A1347 #612077 #892DA7 #AB44CD #C175DA

Accessibility & contrast

On white

7.01
#892DA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #892DA7
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##892DA7#FFFFFF#000000##FFFFFF
##892DA71.007.013.007.01
#FFFFFF7.011.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054AA
Deuteranopia (green-blind)
#2D5CA4
Tritanopia (blue-blind)
#874667
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #892da7;
/* rgb */ color: rgb(137, 45, 167);
/* oklch */ color: oklch(48.9% 0.194 316.4);
Tailwind
colors: {
  custom: {
    50: '#af6fc2',
    500: '#892da7',
    950: '#000000',
  },
}
SCSS
$custom: #892da7;
$custom-light: #af6fc2;
$custom-dark: #000000;
JSON
{
  "hex": "#892da7",
  "rgb": {
    "r": 137,
    "g": 45,
    "b": 167
  },
  "hsl": {
    "h": 285.246,
    "s": 57.547,
    "l": 41.569
  },
  "oklch": {
    "l": 0.48884,
    "c": 0.19357,
    "h": 316.4
  },
  "luminance": 0.09985
}

Semantic roles & 50–950 ramp

primary
#892DA7
secondary
#83C16E
accent
#E1476D
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110812
muted
#807B81

Preview Lab

Preview with #892DA7

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

Preview Lab → · Contrast checker → · Palette generator →

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