#702186#702186

#702186 is a dark, vivid purple. Relative luminance 0.063; OKLCH L 41.9% C 0.167 H 317.8°. Best body text is #FFFFFF at 9.33:1 contrast (WCAG AA passes).

Color values

HEX#702186
RGBrgb(112, 33, 134)
HSLhsl(287, 60%, 33%)
HSVhsv(287, 75%, 53%)
CMYKcmyk(16.4%, 75.4%, 0%, 47.5%)
CIE-LABlab(30.04, 49.03, -39.98)
CIE-LCHlch(30.04, 63.27, 320.81°)
OKLaboklab(41.86% 0.1239 -0.1124)
OKLCHoklch(41.86% 0.167 317.8)
XYZxyz(11.5284, 6.2542, 23.1496)
Luminance0.0625 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702186 #378621
analogous
#3E2186 #702186 #862169
triadic
#702186 #867021 #218670
tetradic
#702186 #863E21 #378621 #216986
square
#702186 #863E21 #378621 #216986
split-complementary
#702186 #698621 #21863E
monochromatic
#1E0924 #471555 #702186 #992DB7 #B64ED3

Accessibility & contrast

On white

9.33
#702186 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#702186 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #702186
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702186#FFFFFF#000000##FFFFFF
##7021861.009.332.259.33
#FFFFFF9.331.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004289
Deuteranopia (green-blind)
#254984
Tritanopia (blue-blind)
#6F3652
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #702186;
/* rgb */ color: rgb(112, 33, 134);
/* oklch */ color: oklch(41.9% 0.167 317.8);
Tailwind
colors: {
  custom: {
    50: '#9d65aa',
    500: '#702186',
    950: '#000000',
  },
}
SCSS
$custom: #702186;
$custom-light: #9d65aa;
$custom-dark: #000000;
JSON
{
  "hex": "#702186",
  "rgb": {
    "r": 112,
    "g": 33,
    "b": 134
  },
  "hsl": {
    "h": 286.931,
    "s": 60.479,
    "l": 32.745
  },
  "oklch": {
    "l": 0.4186,
    "c": 0.16728,
    "h": 317.8
  },
  "luminance": 0.06254
}

Semantic roles & 50–950 ramp

primary
#702186
secondary
#63B74C
accent
#E44467
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F0610
muted
#7E7A7F

Preview Lab

Preview with #702186

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

Preview Lab → · Contrast checker → · Palette generator →

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