#702DA8#702DA8

#702DA8 is a mid, vivid violet. Relative luminance 0.081; OKLCH L 45.7% C 0.187 H 304.8°. Best body text is #FFFFFF at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#702DA8
RGBrgb(112, 45, 168)
HSLhsl(273, 58%, 42%)
HSVhsv(273, 73%, 66%)
CMYKcmyk(33.3%, 73.2%, 0%, 34.1%)
CIE-LABlab(34.29, 51.54, -53.90)
CIE-LCHlch(34.29, 74.58, 313.72°)
OKLaboklab(45.66% 0.1066 -0.1533)
OKLCHoklch(45.66% 0.187 304.8)
XYZxyz(14.6868, 8.1487, 37.8373)
Luminance0.0815 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702DA8 #65A82D
analogous
#332DA8 #702DA8 #A82DA3
triadic
#702DA8 #A8702D #2DA870
tetradic
#702DA8 #A8332D #65A82D #2DA3A8
square
#702DA8 #A8332D #65A82D #2DA3A8
split-complementary
#702DA8 #A3A82D #2DA833
monochromatic
#301347 #502078 #702DA8 #8F45CD #AC75DA

Accessibility & contrast

On white

7.99
#702DA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#702DA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #702DA8
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702DA8#FFFFFF#000000##FFFFFF
##702DA81.007.992.637.99
#FFFFFF7.991.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.991.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #702da8;
/* rgb */ color: rgb(112, 45, 168);
/* oklch */ color: oklch(45.7% 0.187 304.8);
Tailwind
colors: {
  custom: {
    50: '#9e6cc3',
    500: '#702da8',
    950: '#000000',
  },
}
SCSS
$custom: #702da8;
$custom-light: #9e6cc3;
$custom-dark: #000000;
JSON
{
  "hex": "#702da8",
  "rgb": {
    "r": 112,
    "g": 45,
    "b": 168
  },
  "hsl": {
    "h": 272.683,
    "s": 57.746,
    "l": 41.765
  },
  "oklch": {
    "l": 0.45655,
    "c": 0.18676,
    "h": 304.8
  },
  "luminance": 0.08149
}

Semantic roles & 50–950 ramp

primary
#702DA8
secondary
#95C26F
accent
#E1478D
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #702DA8

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

Preview Lab → · Contrast checker → · Palette generator →

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