#892297#892297

#892297 is a mid, vivid purple. Relative luminance 0.087; OKLCH L 46.8% C 0.192 H 322.6°. Best body text is #FFFFFF at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#892297
RGBrgb(137, 34, 151)
HSLhsl(293, 63%, 36%)
HSVhsv(293, 77%, 59%)
CMYKcmyk(9.3%, 77.5%, 0%, 40.8%)
CIE-LABlab(35.40, 57.24, -41.65)
CIE-LCHlch(35.40, 70.79, 323.96°)
OKLaboklab(46.83% 0.1521 -0.1165)
OKLCHoklch(46.83% 0.192 322.6)
XYZxyz(16.4739, 8.6978, 30.0833)
Luminance0.0870 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#892297 #309722
analogous
#4F2297 #892297 #97226B
triadic
#892297 #978922 #229789
tetradic
#892297 #974F22 #309722 #226B97
square
#892297 #974F22 #309722 #226B97
split-complementary
#892297 #6B9722 #22974F
monochromatic
#2E0C33 #5C1765 #892297 #B62DC9 #CA5ADA

Accessibility & contrast

On white

7.67
#892297 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#892297 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #892297
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##892297#FFFFFF#000000##FFFFFF
##8922971.007.672.747.67
#FFFFFF7.671.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C9A
Deuteranopia (green-blind)
#355794
Tritanopia (blue-blind)
#8B395C
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #892297;
/* rgb */ color: rgb(137, 34, 151);
/* oklch */ color: oklch(46.8% 0.192 322.6);
Tailwind
colors: {
  custom: {
    50: '#af69b6',
    500: '#892297',
    950: '#000000',
  },
}
SCSS
$custom: #892297;
$custom-light: #af69b6;
$custom-dark: #000000;
JSON
{
  "hex": "#892297",
  "rgb": {
    "r": 137,
    "g": 34,
    "b": 151
  },
  "hsl": {
    "h": 292.821,
    "s": 63.243,
    "l": 36.275
  },
  "oklch": {
    "l": 0.46831,
    "c": 0.1916,
    "h": 322.6
  },
  "luminance": 0.08697
}

Semantic roles & 50–950 ramp

primary
#892297
secondary
#63BE57
accent
#E64255
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80

Preview Lab

Preview with #892297

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

Preview Lab → · Contrast checker → · Palette generator →

#892297 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva