#702AB6#702AB6

#702AB6 is a mid, highly saturated violet. Relative luminance 0.085; OKLCH L 46.5% C 0.204 H 301.3°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#702AB6
RGBrgb(112, 42, 182)
HSLhsl(270, 63%, 44%)
HSVhsv(270, 77%, 71%)
CMYKcmyk(38.5%, 76.9%, 0%, 28.6%)
CIE-LABlab(34.96, 56.15, -61.16)
CIE-LCHlch(34.96, 83.03, 312.55°)
OKLaboklab(46.47% 0.1063 -0.1746)
OKLCHoklch(46.47% 0.204 301.3)
XYZxyz(15.9515, 8.4780, 45.0429)
Luminance0.0848 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702AB6 #70B62A
analogous
#2A2AB6 #702AB6 #B62AB6
triadic
#702AB6 #B6702A #2AB670
tetradic
#702AB6 #B62A2A #70B62A #2AB6B6
square
#702AB6 #B62A2A #70B62A #2AB6B6
split-complementary
#702AB6 #B6B62A #2AB62A
monochromatic
#331353 #511F84 #702AB6 #8F48D5 #AD7AE0

Accessibility & contrast

On white

7.79
#702AB6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#702AB6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #702AB6
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702AB6#FFFFFF#000000##FFFFFF
##702AB61.007.792.707.79
#FFFFFF7.791.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051BA
Deuteranopia (green-blind)
#0051B3
Tritanopia (blue-blind)
#604F6F
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #702ab6;
/* rgb */ color: rgb(112, 42, 182);
/* oklch */ color: oklch(46.5% 0.204 301.3);
Tailwind
colors: {
  custom: {
    50: '#a06bcd',
    500: '#702ab6',
    950: '#000000',
  },
}
SCSS
$custom: #702ab6;
$custom-light: #a06bcd;
$custom-dark: #000000;
JSON
{
  "hex": "#702ab6",
  "rgb": {
    "r": 112,
    "g": 42,
    "b": 182
  },
  "hsl": {
    "h": 270,
    "s": 62.5,
    "l": 43.922
  },
  "oklch": {
    "l": 0.46474,
    "c": 0.20445,
    "h": 301.3
  },
  "luminance": 0.08478
}

Semantic roles & 50–950 ramp

primary
#702AB6
secondary
#9EC873
accent
#E64294
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#0F0714
muted
#7F7A82

Preview Lab

Preview with #702AB6

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

Preview Lab → · Contrast checker → · Palette generator →

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