#702AA7#702AA7

#702AA7 is a mid, vivid violet. Relative luminance 0.079; OKLCH L 45.3% C 0.189 H 305.4°. Best body text is #FFFFFF at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#702AA7
RGBrgb(112, 42, 167)
HSLhsl(274, 60%, 41%)
HSVhsv(274, 75%, 65%)
CMYKcmyk(32.9%, 74.9%, 0%, 34.5%)
CIE-LABlab(33.75, 52.61, -54.17)
CIE-LCHlch(33.75, 75.51, 314.16°)
OKLaboklab(45.25% 0.1097 -0.1541)
OKLCHoklch(45.25% 0.189 305.4)
XYZxyz(14.4836, 7.8908, 37.3118)
Luminance0.0789 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702AA7 #61A72A
analogous
#312AA7 #702AA7 #A72A9F
triadic
#702AA7 #A7702A #2AA770
tetradic
#702AA7 #A7312A #61A72A #2A9FA7
square
#702AA7 #A7312A #61A72A #2A9FA7
split-complementary
#702AA7 #9FA72A #2AA731
monochromatic
#2E1145 #4F1E76 #702AA7 #903FCF #AC70DB

Accessibility & contrast

On white

8.15
#702AA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#702AA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #702AA7
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702AA7#FFFFFF#000000##FFFFFF
##702AA71.008.152.588.15
#FFFFFF8.151.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DAB
Deuteranopia (green-blind)
#0050A4
Tritanopia (blue-blind)
#664966
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #702aa7;
/* rgb */ color: rgb(112, 42, 167);
/* oklch */ color: oklch(45.3% 0.189 305.4);
Tailwind
colors: {
  custom: {
    50: '#9e6bc2',
    500: '#702aa7',
    950: '#000000',
  },
}
SCSS
$custom: #702aa7;
$custom-light: #9e6bc2;
$custom-dark: #000000;
JSON
{
  "hex": "#702aa7",
  "rgb": {
    "r": 112,
    "g": 42,
    "b": 167
  },
  "hsl": {
    "h": 273.6,
    "s": 59.809,
    "l": 40.98
  },
  "oklch": {
    "l": 0.45252,
    "c": 0.18918,
    "h": 305.4
  },
  "luminance": 0.07891
}

Semantic roles & 50–950 ramp

primary
#702AA7
secondary
#91C26B
accent
#E3458A
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #702AA7

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

Preview Lab → · Contrast checker → · Palette generator →

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