#702AA6#702AA6

#702AA6 is a mid, vivid violet. Relative luminance 0.079; OKLCH L 45.2% C 0.188 H 305.7°. Best body text is #FFFFFF at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#702AA6
RGBrgb(112, 42, 166)
HSLhsl(274, 60%, 41%)
HSVhsv(274, 75%, 65%)
CMYKcmyk(32.5%, 74.7%, 0%, 34.9%)
CIE-LABlab(33.68, 52.37, -53.70)
CIE-LCHlch(33.68, 75.01, 314.28°)
OKLaboklab(45.17% 0.1099 -0.1527)
OKLCHoklch(45.17% 0.188 305.7)
XYZxyz(14.3915, 7.8540, 36.8268)
Luminance0.0785 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702AA6 #60A62A
analogous
#322AA6 #702AA6 #A62A9E
triadic
#702AA6 #A6702A #2AA670
tetradic
#702AA6 #A6322A #60A62A #2A9EA6
square
#702AA6 #A6322A #60A62A #2A9EA6
split-complementary
#702AA6 #9EA62A #2AA632
monochromatic
#2E1144 #4F1E75 #702AA6 #903FCE #AC70DB

Accessibility & contrast

On white

8.17
#702AA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#702AA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #702AA6
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702AA6#FFFFFF#000000##FFFFFF
##702AA61.008.172.578.17
#FFFFFF8.171.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DAA
Deuteranopia (green-blind)
#004FA3
Tritanopia (blue-blind)
#664866
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #702aa6;
/* rgb */ color: rgb(112, 42, 166);
/* oklch */ color: oklch(45.2% 0.188 305.7);
Tailwind
colors: {
  custom: {
    50: '#9e6bc1',
    500: '#702aa6',
    950: '#000000',
  },
}
SCSS
$custom: #702aa6;
$custom-light: #9e6bc1;
$custom-dark: #000000;
JSON
{
  "hex": "#702aa6",
  "rgb": {
    "r": 112,
    "g": 42,
    "b": 166
  },
  "hsl": {
    "h": 273.871,
    "s": 59.615,
    "l": 40.784
  },
  "oklch": {
    "l": 0.45173,
    "c": 0.18816,
    "h": 305.7
  },
  "luminance": 0.07854
}

Semantic roles & 50–950 ramp

primary
#702AA6
secondary
#90C26A
accent
#E3458A
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #702AA6

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

Preview Lab → · Contrast checker → · Palette generator →

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