#702CA7#702CA7

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

Color values

HEX#702CA7
RGBrgb(112, 44, 167)
HSLhsl(273, 58%, 41%)
HSVhsv(273, 74%, 65%)
CMYKcmyk(32.9%, 73.7%, 0%, 34.5%)
CIE-LABlab(34.06, 51.74, -53.68)
CIE-LCHlch(34.06, 74.56, 313.95°)
OKLaboklab(45.47% 0.1078 -0.1527)
OKLCHoklch(45.47% 0.187 305.2)
XYZxyz(14.5563, 8.0362, 37.3360)
Luminance0.0804 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702CA7 #63A72C
analogous
#332CA7 #702CA7 #A72CA1
triadic
#702CA7 #A7702C #2CA770
tetradic
#702CA7 #A7332C #63A72C #2CA1A7
square
#702CA7 #A7332C #63A72C #2CA1A7
split-complementary
#702CA7 #A1A72C #2CA733
monochromatic
#2F1246 #501F77 #702CA7 #8F43CD #AC73DA

Accessibility & contrast

On white

8.05
#702CA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#702CA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #702CA7
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702CA7#FFFFFF#000000##FFFFFF
##702CA71.008.052.618.05
#FFFFFF8.051.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EAB
Deuteranopia (green-blind)
#0050A4
Tritanopia (blue-blind)
#664A67
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #702ca7;
/* rgb */ color: rgb(112, 44, 167);
/* oklch */ color: oklch(45.5% 0.187 305.2);
Tailwind
colors: {
  custom: {
    50: '#9e6cc2',
    500: '#702ca7',
    950: '#000000',
  },
}
SCSS
$custom: #702ca7;
$custom-light: #9e6cc2;
$custom-dark: #000000;
JSON
{
  "hex": "#702ca7",
  "rgb": {
    "r": 112,
    "g": 44,
    "b": 167
  },
  "hsl": {
    "h": 273.171,
    "s": 58.294,
    "l": 41.373
  },
  "oklch": {
    "l": 0.45466,
    "c": 0.18689,
    "h": 305.2
  },
  "luminance": 0.08036
}

Semantic roles & 50–950 ramp

primary
#702CA7
secondary
#93C26D
accent
#E2468C
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #702CA7

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

Preview Lab → · Contrast checker → · Palette generator →

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