#892FCC#892FCC

#892FCC is a mid, highly saturated violet. Relative luminance 0.117; OKLCH L 51.8% C 0.226 H 305.7°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#892FCC
RGBrgb(137, 47, 204)
HSLhsl(274, 63%, 49%)
HSVhsv(274, 77%, 80%)
CMYKcmyk(32.8%, 77%, 0%, 20%)
CIE-LABlab(40.75, 63.43, -64.47)
CIE-LCHlch(40.75, 90.44, 314.54°)
OKLaboklab(51.8% 0.1319 -0.1835)
OKLCHoklch(51.8% 0.226 305.7)
XYZxyz(22.2297, 11.7112, 58.2044)
Luminance0.1171 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#892FCC #72CC2F
analogous
#3B2FCC #892FCC #CC2FC1
triadic
#892FCC #CC892F #2FCC89
tetradic
#892FCC #CC3B2F #72CC2F #2FC1CC
square
#892FCC #CC3B2F #72CC2F #2FC1CC
split-complementary
#892FCC #C1CC2F #2FCC3B
monochromatic
#461869 #68249A #892FCC #A55EDA #C190E5

Accessibility & contrast

On white

6.28
#892FCC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#892FCC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #892FCC
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##892FCC#FFFFFF#000000##FFFFFF
##892FCC1.006.283.346.28
#FFFFFF6.281.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ED0
Deuteranopia (green-blind)
#0060C9
Tritanopia (blue-blind)
#7D577D
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #892fcc;
/* rgb */ color: rgb(137, 47, 204);
/* oklch */ color: oklch(51.8% 0.226 305.7);
Tailwind
colors: {
  custom: {
    50: '#b172dd',
    500: '#892fcc',
    950: '#000000',
  },
}
SCSS
$custom: #892fcc;
$custom-light: #b172dd;
$custom-dark: #000000;
JSON
{
  "hex": "#892fcc",
  "rgb": {
    "r": 137,
    "g": 47,
    "b": 204
  },
  "hsl": {
    "h": 274.395,
    "s": 62.55,
    "l": 49.216
  },
  "oklch": {
    "l": 0.51798,
    "c": 0.22601,
    "h": 305.7
  },
  "luminance": 0.11711
}

Semantic roles & 50–950 ramp

primary
#892FCC
secondary
#A6D087
accent
#E64288
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#120815
muted
#817B83

Preview Lab

Preview with #892FCC

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

Preview Lab → · Contrast checker → · Palette generator →

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