#702AAA#702AAA

#702AAA is a mid, vivid violet. Relative luminance 0.080; OKLCH L 45.5% C 0.192 H 304.6°. Best body text is #FFFFFF at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#702AAA
RGBrgb(112, 42, 170)
HSLhsl(273, 60%, 42%)
HSVhsv(273, 75%, 67%)
CMYKcmyk(34.1%, 75.3%, 0%, 33.3%)
CIE-LABlab(33.99, 53.31, -55.59)
CIE-LCHlch(33.99, 77.02, 313.80°)
OKLaboklab(45.49% 0.1091 -0.1583)
OKLCHoklch(45.49% 0.192 304.6)
XYZxyz(14.7641, 8.0030, 38.7893)
Luminance0.0800 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702AAA #64AA2A
analogous
#302AAA #702AAA #AA2AA4
triadic
#702AAA #AA702A #2AAA70
tetradic
#702AAA #AA302A #64AA2A #2AA4AA
square
#702AAA #AA302A #64AA2A #2AA4AA
split-complementary
#702AAA #A4AA2A #2AAA30
monochromatic
#2F1248 #501E79 #702AAA #8F41D0 #AC72DC

Accessibility & contrast

On white

8.08
#702AAA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#702AAA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #702AAA
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702AAA#FFFFFF#000000##FFFFFF
##702AAA1.008.082.608.08
#FFFFFF8.081.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EAE
Deuteranopia (green-blind)
#0050A7
Tritanopia (blue-blind)
#654A68
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #702aaa;
/* rgb */ color: rgb(112, 42, 170);
/* oklch */ color: oklch(45.5% 0.192 304.6);
Tailwind
colors: {
  custom: {
    50: '#9e6bc4',
    500: '#702aaa',
    950: '#000000',
  },
}
SCSS
$custom: #702aaa;
$custom-light: #9e6bc4;
$custom-dark: #000000;
JSON
{
  "hex": "#702aaa",
  "rgb": {
    "r": 112,
    "g": 42,
    "b": 170
  },
  "hsl": {
    "h": 272.813,
    "s": 60.377,
    "l": 41.569
  },
  "oklch": {
    "l": 0.45491,
    "c": 0.19224,
    "h": 304.6
  },
  "luminance": 0.08003
}

Semantic roles & 50–950 ramp

primary
#702AAA
secondary
#94C36C
accent
#E4448C
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #702AAA

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

Preview Lab → · Contrast checker → · Palette generator →

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