#702DA7#702DA7

#702DA7 is a mid, vivid violet. Relative luminance 0.081; OKLCH L 45.6% C 0.186 H 305.1°. Best body text is #FFFFFF at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#702DA7
RGBrgb(112, 45, 167)
HSLhsl(273, 58%, 42%)
HSVhsv(273, 73%, 65%)
CMYKcmyk(32.9%, 73.1%, 0%, 34.5%)
CIE-LABlab(34.21, 51.30, -53.43)
CIE-LCHlch(34.21, 74.07, 313.84°)
OKLaboklab(45.58% 0.1068 -0.1519)
OKLCHoklch(45.58% 0.186 305.1)
XYZxyz(14.5940, 8.1116, 37.3486)
Luminance0.0811 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702DA7 #64A72D
analogous
#332DA7 #702DA7 #A72DA1
triadic
#702DA7 #A7702D #2DA770
tetradic
#702DA7 #A7332D #64A72D #2DA1A7
square
#702DA7 #A7332D #64A72D #2DA1A7
split-complementary
#702DA7 #A1A72D #2DA733
monochromatic
#2F1347 #502077 #702DA7 #8F44CD #AC75DA

Accessibility & contrast

On white

8.01
#702DA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#702DA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #702DA7
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702DA7#FFFFFF#000000##FFFFFF
##702DA71.008.012.628.01
#FFFFFF8.011.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.011.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #702da7;
/* rgb */ color: rgb(112, 45, 167);
/* oklch */ color: oklch(45.6% 0.186 305.1);
Tailwind
colors: {
  custom: {
    50: '#9e6cc2',
    500: '#702da7',
    950: '#000000',
  },
}
SCSS
$custom: #702da7;
$custom-light: #9e6cc2;
$custom-dark: #000000;
JSON
{
  "hex": "#702da7",
  "rgb": {
    "r": 112,
    "g": 45,
    "b": 167
  },
  "hsl": {
    "h": 272.951,
    "s": 57.547,
    "l": 41.569
  },
  "oklch": {
    "l": 0.45577,
    "c": 0.18571,
    "h": 305.1
  },
  "luminance": 0.08112
}

Semantic roles & 50–950 ramp

primary
#702DA7
secondary
#94C16E
accent
#E1478C
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #702DA7

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

Preview Lab → · Contrast checker → · Palette generator →

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