#702DA3#702DA3

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

Color values

HEX#702DA3
RGBrgb(112, 45, 163)
HSLhsl(274, 57%, 41%)
HSVhsv(274, 72%, 64%)
CMYKcmyk(31.3%, 72.4%, 0%, 36.1%)
CIE-LABlab(33.91, 50.36, -51.51)
CIE-LCHlch(33.91, 72.04, 314.35°)
OKLaboklab(45.27% 0.1075 -0.1463)
OKLCHoklch(45.27% 0.182 306.3)
XYZxyz(14.2299, 7.9660, 35.4312)
Luminance0.0797 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702DA3 #60A32D
analogous
#352DA3 #702DA3 #A32D9B
triadic
#702DA3 #A3702D #2DA370
tetradic
#702DA3 #A3352D #60A32D #2D9BA3
square
#702DA3 #A3352D #60A32D #2D9BA3
split-complementary
#702DA3 #9BA32D #2DA335
monochromatic
#2E1343 #4F2073 #702DA3 #9042CB #AC72D8

Accessibility & contrast

On white

8.10
#702DA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#702DA3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #702DA3
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702DA3#FFFFFF#000000##FFFFFF
##702DA31.008.102.598.10
#FFFFFF8.101.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA6
Deuteranopia (green-blind)
#0050A1
Tritanopia (blue-blind)
#674965
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #702da3;
/* rgb */ color: rgb(112, 45, 163);
/* oklch */ color: oklch(45.3% 0.182 306.3);
Tailwind
colors: {
  custom: {
    50: '#9e6cbf',
    500: '#702da3',
    950: '#000000',
  },
}
SCSS
$custom: #702da3;
$custom-light: #9e6cbf;
$custom-dark: #000000;
JSON
{
  "hex": "#702da3",
  "rgb": {
    "r": 112,
    "g": 45,
    "b": 163
  },
  "hsl": {
    "h": 274.068,
    "s": 56.731,
    "l": 40.784
  },
  "oklch": {
    "l": 0.45267,
    "c": 0.18155,
    "h": 306.3
  },
  "luminance": 0.07966
}

Semantic roles & 50–950 ramp

primary
#702DA3
secondary
#90C06C
accent
#E0488A
background
#FAF6FB
surface
#F4ECF7
border
#CEC7D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #702DA3

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

Preview Lab → · Contrast checker → · Palette generator →

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