#702B87#702B87

#702B87 is a dark, vivid purple. Relative luminance 0.069; OKLCH L 43.0% C 0.155 H 316.5°. Best body text is #FFFFFF at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#702B87
RGBrgb(112, 43, 135)
HSLhsl(285, 52%, 35%)
HSVhsv(285, 68%, 53%)
CMYKcmyk(17%, 68.1%, 0%, 47.1%)
CIE-LABlab(31.63, 44.97, -38.06)
CIE-LCHlch(31.63, 58.91, 319.75°)
OKLaboklab(43.01% 0.1128 -0.1068)
OKLCHoklch(43.01% 0.155 316.5)
XYZxyz(11.9185, 6.9222, 23.6253)
Luminance0.0692 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702B87 #42872B
analogous
#422B87 #702B87 #872B70
triadic
#702B87 #87702B #2B8770
tetradic
#702B87 #87422B #42872B #2B7087
square
#702B87 #87422B #42872B #2B7087
split-complementary
#702B87 #70872B #2B8742
monochromatic
#230D2A #491C59 #702B87 #973AB5 #B160CC

Accessibility & contrast

On white

8.81
#702B87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#702B87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #702B87
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702B87#FFFFFF#000000##FFFFFF
##702B871.008.812.388.81
#FFFFFF8.811.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.811.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #702b87;
/* rgb */ color: rgb(112, 43, 135);
/* oklch */ color: oklch(43.0% 0.155 316.5);
Tailwind
colors: {
  custom: {
    50: '#9c6aaa',
    500: '#702b87',
    950: '#000000',
  },
}
SCSS
$custom: #702b87;
$custom-light: #9c6aaa;
$custom-dark: #000000;
JSON
{
  "hex": "#702b87",
  "rgb": {
    "r": 112,
    "g": 43,
    "b": 135
  },
  "hsl": {
    "h": 285,
    "s": 51.685,
    "l": 34.902
  },
  "oklch": {
    "l": 0.43014,
    "c": 0.15532,
    "h": 316.5
  },
  "luminance": 0.06922
}

Semantic roles & 50–950 ramp

primary
#702B87
secondary
#71B25B
accent
#DB4D70
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F0710
muted
#7E7A7F

Preview Lab

Preview with #702B87

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

Preview Lab → · Contrast checker → · Palette generator →

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