#702DA1#702DA1

#702DA1 is a mid, vivid violet. Relative luminance 0.079; OKLCH L 45.1% C 0.179 H 306.9°. Best body text is #FFFFFF at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#702DA1
RGBrgb(112, 45, 161)
HSLhsl(275, 56%, 40%)
HSVhsv(275, 72%, 63%)
CMYKcmyk(30.4%, 72%, 0%, 36.9%)
CIE-LABlab(33.76, 49.89, -50.54)
CIE-LCHlch(33.76, 71.02, 314.63°)
OKLaboklab(45.12% 0.1078 -0.1435)
OKLCHoklch(45.12% 0.179 306.9)
XYZxyz(14.0521, 7.8949, 34.4949)
Luminance0.0790 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702DA1 #5EA12D
analogous
#362DA1 #702DA1 #A12D98
triadic
#702DA1 #A1702D #2DA170
tetradic
#702DA1 #A1362D #5EA12D #2D98A1
square
#702DA1 #A1362D #5EA12D #2D98A1
split-complementary
#702DA1 #98A12D #2DA136
monochromatic
#2D1241 #4F2071 #702DA1 #9041CA #AC71D7

Accessibility & contrast

On white

8.14
#702DA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #702DA1
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702DA1#FFFFFF#000000##FFFFFF
##702DA11.008.142.588.14
#FFFFFF8.141.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA4
Deuteranopia (green-blind)
#03509F
Tritanopia (blue-blind)
#684864
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #702da1;
/* rgb */ color: rgb(112, 45, 161);
/* oklch */ color: oklch(45.1% 0.179 306.9);
Tailwind
colors: {
  custom: {
    50: '#9e6cbe',
    500: '#702da1',
    950: '#000000',
  },
}
SCSS
$custom: #702da1;
$custom-light: #9e6cbe;
$custom-dark: #000000;
JSON
{
  "hex": "#702da1",
  "rgb": {
    "r": 112,
    "g": 45,
    "b": 161
  },
  "hsl": {
    "h": 274.655,
    "s": 56.311,
    "l": 40.392
  },
  "oklch": {
    "l": 0.45115,
    "c": 0.17946,
    "h": 306.9
  },
  "luminance": 0.07895
}

Semantic roles & 50–950 ramp

primary
#702DA1
secondary
#8EBF6B
accent
#E04888
background
#FAF6FB
surface
#F3ECF7
border
#CDC7D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #702DA1

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

Preview Lab → · Contrast checker → · Palette generator →

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