#702DA9#702DA9

#702DA9 is a mid, vivid violet. Relative luminance 0.082; OKLCH L 45.7% C 0.188 H 304.5°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#702DA9
RGBrgb(112, 45, 169)
HSLhsl(272, 58%, 42%)
HSVhsv(272, 73%, 66%)
CMYKcmyk(33.7%, 73.4%, 0%, 33.7%)
CIE-LABlab(34.37, 51.77, -54.38)
CIE-LCHlch(34.37, 75.08, 313.60°)
OKLaboklab(45.73% 0.1064 -0.1547)
OKLCHoklch(45.73% 0.188 304.5)
XYZxyz(14.7803, 8.1862, 38.3299)
Luminance0.0819 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702DA9 #66A92D
analogous
#322DA9 #702DA9 #A92DA4
triadic
#702DA9 #A9702D #2DA970
tetradic
#702DA9 #A9322D #66A92D #2DA4A9
square
#702DA9 #A9322D #66A92D #2DA4A9
split-complementary
#702DA9 #A4A92D #2DA932
monochromatic
#301348 #502079 #702DA9 #8F46CE #AC76DA

Accessibility & contrast

On white

7.96
#702DA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#702DA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #702DA9
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702DA9#FFFFFF#000000##FFFFFF
##702DA91.007.962.647.96
#FFFFFF7.961.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FAD
Deuteranopia (green-blind)
#0051A6
Tritanopia (blue-blind)
#654B68
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #702da9;
/* rgb */ color: rgb(112, 45, 169);
/* oklch */ color: oklch(45.7% 0.188 304.5);
Tailwind
colors: {
  custom: {
    50: '#9e6cc3',
    500: '#702da9',
    950: '#000000',
  },
}
SCSS
$custom: #702da9;
$custom-light: #9e6cc3;
$custom-dark: #000000;
JSON
{
  "hex": "#702da9",
  "rgb": {
    "r": 112,
    "g": 45,
    "b": 169
  },
  "hsl": {
    "h": 272.419,
    "s": 57.944,
    "l": 41.961
  },
  "oklch": {
    "l": 0.45734,
    "c": 0.1878,
    "h": 304.5
  },
  "luminance": 0.08186
}

Semantic roles & 50–950 ramp

primary
#702DA9
secondary
#96C26F
accent
#E1478E
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #702DA9

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

Preview Lab → · Contrast checker → · Palette generator →

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