#702DA4#702DA4

#702DA4 is a mid, vivid violet. Relative luminance 0.080; OKLCH L 45.3% C 0.183 H 306.0°. Best body text is #FFFFFF at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#702DA4
RGBrgb(112, 45, 164)
HSLhsl(274, 57%, 41%)
HSVhsv(274, 73%, 64%)
CMYKcmyk(31.7%, 72.6%, 0%, 35.7%)
CIE-LABlab(33.99, 50.59, -51.99)
CIE-LCHlch(33.99, 72.54, 314.22°)
OKLaboklab(45.34% 0.1073 -0.1477)
OKLCHoklch(45.34% 0.183 306)
XYZxyz(14.3198, 8.0020, 35.9049)
Luminance0.0800 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702DA4 #61A42D
analogous
#352DA4 #702DA4 #A42D9C
triadic
#702DA4 #A4702D #2DA470
tetradic
#702DA4 #A4352D #61A42D #2D9CA4
square
#702DA4 #A4352D #61A42D #2D9CA4
split-complementary
#702DA4 #9CA42D #2DA435
monochromatic
#2E1344 #4F2074 #702DA4 #9043CB #AC73D9

Accessibility & contrast

On white

8.08
#702DA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#702DA4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #702DA4
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702DA4#FFFFFF#000000##FFFFFF
##702DA41.008.082.608.08
#FFFFFF8.081.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA7
Deuteranopia (green-blind)
#0050A2
Tritanopia (blue-blind)
#674966
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #702da4;
/* rgb */ color: rgb(112, 45, 164);
/* oklch */ color: oklch(45.3% 0.183 306.0);
Tailwind
colors: {
  custom: {
    50: '#9e6cc0',
    500: '#702da4',
    950: '#000000',
  },
}
SCSS
$custom: #702da4;
$custom-light: #9e6cc0;
$custom-dark: #000000;
JSON
{
  "hex": "#702da4",
  "rgb": {
    "r": 112,
    "g": 45,
    "b": 164
  },
  "hsl": {
    "h": 273.782,
    "s": 56.938,
    "l": 40.98
  },
  "oklch": {
    "l": 0.45344,
    "c": 0.18259,
    "h": 306
  },
  "luminance": 0.08002
}

Semantic roles & 50–950 ramp

primary
#702DA4
secondary
#91C06D
accent
#E0488A
background
#FAF6FB
surface
#F4ECF7
border
#CEC7D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #702DA4

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

Preview Lab → · Contrast checker → · Palette generator →

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