#702AA5#702AA5

#702AA5 is a mid, vivid violet. Relative luminance 0.078; OKLCH L 45.1% C 0.187 H 306.0°. Best body text is #FFFFFF at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#702AA5
RGBrgb(112, 42, 165)
HSLhsl(274, 59%, 41%)
HSVhsv(274, 75%, 65%)
CMYKcmyk(32.1%, 74.5%, 0%, 35.3%)
CIE-LABlab(33.60, 52.14, -53.22)
CIE-LCHlch(33.60, 74.51, 314.41°)
OKLaboklab(45.09% 0.1101 -0.1513)
OKLCHoklch(45.09% 0.187 306)
XYZxyz(14.3001, 7.8174, 36.3456)
Luminance0.0782 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702AA5 #5FA52A
analogous
#322AA5 #702AA5 #A52A9C
triadic
#702AA5 #A5702A #2AA570
tetradic
#702AA5 #A5322A #5FA52A #2A9CA5
square
#702AA5 #A5322A #5FA52A #2A9CA5
split-complementary
#702AA5 #9CA52A #2AA532
monochromatic
#2E1143 #4F1E74 #702AA5 #903ECE #AC6FDA

Accessibility & contrast

On white

8.19
#702AA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#702AA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #702AA5
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702AA5#FFFFFF#000000##FFFFFF
##702AA51.008.192.568.19
#FFFFFF8.191.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA8
Deuteranopia (green-blind)
#004FA2
Tritanopia (blue-blind)
#674865
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #702aa5;
/* rgb */ color: rgb(112, 42, 165);
/* oklch */ color: oklch(45.1% 0.187 306.0);
Tailwind
colors: {
  custom: {
    50: '#9e6bc1',
    500: '#702aa5',
    950: '#000000',
  },
}
SCSS
$custom: #702aa5;
$custom-light: #9e6bc1;
$custom-dark: #000000;
JSON
{
  "hex": "#702aa5",
  "rgb": {
    "r": 112,
    "g": 42,
    "b": 165
  },
  "hsl": {
    "h": 274.146,
    "s": 59.42,
    "l": 40.588
  },
  "oklch": {
    "l": 0.45094,
    "c": 0.18714,
    "h": 306
  },
  "luminance": 0.07817
}

Semantic roles & 50–950 ramp

primary
#702AA5
secondary
#8FC169
accent
#E34589
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #702AA5

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

Preview Lab → · Contrast checker → · Palette generator →

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