#702A87#702A87

#702A87 is a dark, vivid purple. Relative luminance 0.069; OKLCH L 42.9% C 0.157 H 316.6°. Best body text is #FFFFFF at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#702A87
RGBrgb(112, 42, 135)
HSLhsl(285, 53%, 35%)
HSVhsv(285, 69%, 53%)
CMYKcmyk(17%, 68.9%, 0%, 47.1%)
CIE-LABlab(31.46, 45.43, -38.33)
CIE-LCHlch(31.46, 59.43, 319.85°)
OKLaboklab(42.9% 0.114 -0.1076)
OKLCHoklch(42.9% 0.157 316.6)
XYZxyz(11.8826, 6.8504, 23.6133)
Luminance0.0685 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702A87 #41872A
analogous
#412A87 #702A87 #872A70
triadic
#702A87 #87702A #2A8770
tetradic
#702A87 #87412A #41872A #2A7087
square
#702A87 #87412A #41872A #2A7087
split-complementary
#702A87 #70872A #2A8741
monochromatic
#230D2A #491B58 #702A87 #9739B6 #B25ECD

Accessibility & contrast

On white

8.86
#702A87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#702A87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #702A87
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702A87#FFFFFF#000000##FFFFFF
##702A871.008.862.378.86
#FFFFFF8.861.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00468A
Deuteranopia (green-blind)
#2B4C85
Tritanopia (blue-blind)
#6F3C55
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #702a87;
/* rgb */ color: rgb(112, 42, 135);
/* oklch */ color: oklch(42.9% 0.157 316.6);
Tailwind
colors: {
  custom: {
    50: '#9c69aa',
    500: '#702a87',
    950: '#000000',
  },
}
SCSS
$custom: #702a87;
$custom-light: #9c69aa;
$custom-dark: #000000;
JSON
{
  "hex": "#702a87",
  "rgb": {
    "r": 112,
    "g": 42,
    "b": 135
  },
  "hsl": {
    "h": 285.161,
    "s": 52.542,
    "l": 34.706
  },
  "oklch": {
    "l": 0.42896,
    "c": 0.15671,
    "h": 316.6
  },
  "luminance": 0.0685
}

Semantic roles & 50–950 ramp

primary
#702A87
secondary
#70B35A
accent
#DC4C6F
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F0710
muted
#7E7A7F

Preview Lab

Preview with #702A87

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

Preview Lab → · Contrast checker → · Palette generator →

#702A87 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva