#702CAA#702CAA

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

Color values

HEX#702CAA
RGBrgb(112, 44, 170)
HSLhsl(272, 59%, 42%)
HSVhsv(272, 74%, 67%)
CMYKcmyk(34.1%, 74.1%, 0%, 33.3%)
CIE-LABlab(34.29, 52.45, -55.10)
CIE-LCHlch(34.29, 76.07, 313.59°)
OKLaboklab(45.7% 0.1072 -0.1568)
OKLCHoklch(45.7% 0.19 304.4)
XYZxyz(14.8368, 8.1484, 38.8136)
Luminance0.0815 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702CAA #66AA2C
analogous
#312CAA #702CAA #AA2CA5
triadic
#702CAA #AA702C #2CAA70
tetradic
#702CAA #AA312C #66AA2C #2CA5AA
square
#702CAA #AA312C #66AA2C #2CA5AA
split-complementary
#702CAA #A5AA2C #2CAA31
monochromatic
#301349 #501F79 #702CAA #8F44CF #AC75DB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##702CAA#FFFFFF#000000##FFFFFF
##702CAA1.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)
#004FAE
Deuteranopia (green-blind)
#0051A7
Tritanopia (blue-blind)
#654B69
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #702caa;
/* rgb */ color: rgb(112, 44, 170);
/* oklch */ color: oklch(45.7% 0.190 304.4);
Tailwind
colors: {
  custom: {
    50: '#9e6cc4',
    500: '#702caa',
    950: '#000000',
  },
}
SCSS
$custom: #702caa;
$custom-light: #9e6cc4;
$custom-dark: #000000;
JSON
{
  "hex": "#702caa",
  "rgb": {
    "r": 112,
    "g": 44,
    "b": 170
  },
  "hsl": {
    "h": 272.381,
    "s": 58.879,
    "l": 41.961
  },
  "oklch": {
    "l": 0.45703,
    "c": 0.18999,
    "h": 304.4
  },
  "luminance": 0.08148
}

Semantic roles & 50–950 ramp

primary
#702CAA
secondary
#96C36F
accent
#E2468E
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #702CAA

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

Preview Lab → · Contrast checker → · Palette generator →

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