#702887#702887

#702887 is a dark, vivid purple. Relative luminance 0.067; OKLCH L 42.7% C 0.159 H 316.8°. Best body text is #FFFFFF at 8.97:1 contrast (WCAG AA passes).

Color values

HEX#702887
RGBrgb(112, 40, 135)
HSLhsl(285, 54%, 34%)
HSVhsv(285, 70%, 53%)
CMYKcmyk(17%, 70.4%, 0%, 47.1%)
CIE-LABlab(31.14, 46.33, -38.84)
CIE-LCHlch(31.14, 60.45, 320.02°)
OKLaboklab(42.67% 0.1163 -0.1091)
OKLCHoklch(42.67% 0.159 316.8)
XYZxyz(11.8134, 6.7121, 23.5903)
Luminance0.0671 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702887 #3F8728
analogous
#412887 #702887 #87286F
triadic
#702887 #877028 #288770
tetradic
#702887 #874128 #3F8728 #286F87
square
#702887 #874128 #3F8728 #286F87
split-complementary
#702887 #6F8728 #288741
monochromatic
#220C29 #491A58 #702887 #9736B6 #B25BCE

Accessibility & contrast

On white

8.97
#702887 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#702887 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #702887
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702887#FFFFFF#000000##FFFFFF
##7028871.008.972.348.97
#FFFFFF8.971.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458A
Deuteranopia (green-blind)
#294B85
Tritanopia (blue-blind)
#6F3A54
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #702887;
/* rgb */ color: rgb(112, 40, 135);
/* oklch */ color: oklch(42.7% 0.159 316.8);
Tailwind
colors: {
  custom: {
    50: '#9c68aa',
    500: '#702887',
    950: '#000000',
  },
}
SCSS
$custom: #702887;
$custom-light: #9c68aa;
$custom-dark: #000000;
JSON
{
  "hex": "#702887",
  "rgb": {
    "r": 112,
    "g": 40,
    "b": 135
  },
  "hsl": {
    "h": 285.474,
    "s": 54.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.42665,
    "c": 0.15943,
    "h": 316.8
  },
  "luminance": 0.06712
}

Semantic roles & 50–950 ramp

primary
#702887
secondary
#6EB457
accent
#DE4A6E
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F0610
muted
#7E7A7F

Preview Lab

Preview with #702887

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

Preview Lab → · Contrast checker → · Palette generator →

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