#892FB7#892FB7

#892FB7 is a mid, highly saturated violet. Relative luminance 0.108; OKLCH L 50.2% C 0.206 H 311.3°. Best body text is #FFFFFF at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#892FB7
RGBrgb(137, 47, 183)
HSLhsl(280, 59%, 45%)
HSVhsv(280, 74%, 72%)
CMYKcmyk(25.1%, 74.3%, 0%, 28.2%)
CIE-LABlab(39.19, 58.90, -54.72)
CIE-LCHlch(39.19, 80.39, 317.11°)
OKLaboklab(50.21% 0.1361 -0.1549)
OKLCHoklch(50.21% 0.206 311.3)
XYZxyz(19.8787, 10.7708, 45.8224)
Luminance0.1077 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#892FB7 #5DB72F
analogous
#452FB7 #892FB7 #B72FA1
triadic
#892FB7 #B7892F #2FB789
tetradic
#892FB7 #B7452F #5DB72F #2FA1B7
square
#892FB7 #B7452F #5DB72F #2FA1B7
split-complementary
#892FB7 #A1B72F #2FB745
monochromatic
#401656 #652286 #892FB7 #A751D2 #BF82DF

Accessibility & contrast

On white

6.66
#892FB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#892FB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #892FB7
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##892FB7#FFFFFF#000000##FFFFFF
##892FB71.006.663.156.66
#FFFFFF6.661.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058BB
Deuteranopia (green-blind)
#175EB4
Tritanopia (blue-blind)
#834E71
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #892fb7;
/* rgb */ color: rgb(137, 47, 183);
/* oklch */ color: oklch(50.2% 0.206 311.3);
Tailwind
colors: {
  custom: {
    50: '#b071cd',
    500: '#892fb7',
    950: '#000000',
  },
}
SCSS
$custom: #892fb7;
$custom-light: #b071cd;
$custom-dark: #000000;
JSON
{
  "hex": "#892fb7",
  "rgb": {
    "r": 137,
    "g": 47,
    "b": 183
  },
  "hsl": {
    "h": 279.706,
    "s": 59.13,
    "l": 45.098
  },
  "oklch": {
    "l": 0.50208,
    "c": 0.20618,
    "h": 311.3
  },
  "luminance": 0.1077
}

Semantic roles & 50–950 ramp

primary
#892FB7
secondary
#94C87A
accent
#E2457B
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110814
muted
#807B82

Preview Lab

Preview with #892FB7

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

Preview Lab → · Contrast checker → · Palette generator →

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