#702AB4#702AB4

#702AB4 is a mid, highly saturated violet. Relative luminance 0.084; OKLCH L 46.3% C 0.202 H 301.8°. Best body text is #FFFFFF at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#702AB4
RGBrgb(112, 42, 180)
HSLhsl(270, 62%, 44%)
HSVhsv(270, 77%, 71%)
CMYKcmyk(37.8%, 76.7%, 0%, 29.4%)
CIE-LABlab(34.79, 55.67, -60.24)
CIE-LCHlch(34.79, 82.03, 312.74°)
OKLaboklab(46.31% 0.1068 -0.1719)
OKLCHoklch(46.31% 0.202 301.8)
XYZxyz(15.7463, 8.3959, 43.9622)
Luminance0.0840 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702AB4 #6EB42A
analogous
#2B2AB4 #702AB4 #B42AB3
triadic
#702AB4 #B4702A #2AB470
tetradic
#702AB4 #B42B2A #6EB42A #2AB3B4
square
#702AB4 #B42B2A #6EB42A #2AB3B4
split-complementary
#702AB4 #B3B42A #2AB42B
monochromatic
#321351 #511E82 #702AB4 #8F47D4 #AD79E0

Accessibility & contrast

On white

7.84
#702AB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#702AB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #702AB4
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702AB4#FFFFFF#000000##FFFFFF
##702AB41.007.842.687.84
#FFFFFF7.841.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B8
Deuteranopia (green-blind)
#0051B1
Tritanopia (blue-blind)
#614E6E
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #702ab4;
/* rgb */ color: rgb(112, 42, 180);
/* oklch */ color: oklch(46.3% 0.202 301.8);
Tailwind
colors: {
  custom: {
    50: '#9f6bcb',
    500: '#702ab4',
    950: '#000000',
  },
}
SCSS
$custom: #702ab4;
$custom-light: #9f6bcb;
$custom-dark: #000000;
JSON
{
  "hex": "#702ab4",
  "rgb": {
    "r": 112,
    "g": 42,
    "b": 180
  },
  "hsl": {
    "h": 270.435,
    "s": 62.162,
    "l": 43.529
  },
  "oklch": {
    "l": 0.46307,
    "c": 0.20241,
    "h": 301.8
  },
  "luminance": 0.08396
}

Semantic roles & 50–950 ramp

primary
#702AB4
secondary
#9CC872
accent
#E54393
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #702AB4

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

Preview Lab → · Contrast checker → · Palette generator →

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