#702087#702087

#702087 is a dark, vivid purple. Relative luminance 0.062; OKLCH L 41.8% C 0.169 H 317.5°. Best body text is #FFFFFF at 9.35:1 contrast (WCAG AA passes).

Color values

HEX#702087
RGBrgb(112, 32, 135)
HSLhsl(287, 62%, 33%)
HSVhsv(287, 76%, 53%)
CMYKcmyk(17%, 76.3%, 0%, 47.1%)
CIE-LABlab(29.98, 49.62, -40.71)
CIE-LCHlch(29.98, 64.18, 320.63°)
OKLaboklab(41.84% 0.1248 -0.1145)
OKLCHoklch(41.84% 0.169 317.5)
XYZxyz(11.5711, 6.2275, 23.5095)
Luminance0.0623 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702087 #378720
analogous
#3C2087 #702087 #87206A
triadic
#702087 #877020 #208770
tetradic
#702087 #873C20 #378720 #206A87
square
#702087 #873C20 #378720 #206A87
split-complementary
#702087 #6A8720 #20873C
monochromatic
#1E0924 #471456 #702087 #992CB8 #B64DD5

Accessibility & contrast

On white

9.35
#702087 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #702087
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702087#FFFFFF#000000##FFFFFF
##7020871.009.352.259.35
#FFFFFF9.351.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00428A
Deuteranopia (green-blind)
#234985
Tritanopia (blue-blind)
#6F3652
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #702087;
/* rgb */ color: rgb(112, 32, 135);
/* oklch */ color: oklch(41.8% 0.169 317.5);
Tailwind
colors: {
  custom: {
    50: '#9d64aa',
    500: '#702087',
    950: '#000000',
  },
}
SCSS
$custom: #702087;
$custom-light: #9d64aa;
$custom-dark: #000000;
JSON
{
  "hex": "#702087",
  "rgb": {
    "r": 112,
    "g": 32,
    "b": 135
  },
  "hsl": {
    "h": 286.602,
    "s": 61.677,
    "l": 32.745
  },
  "oklch": {
    "l": 0.41836,
    "c": 0.16937,
    "h": 317.5
  },
  "luminance": 0.06227
}

Semantic roles & 50–950 ramp

primary
#702087
secondary
#63B84B
accent
#E54367
background
#FAF6FA
surface
#F3EBF4
border
#CDC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #702087

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

Preview Lab → · Contrast checker → · Palette generator →

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