#702AAB#702AAB

#702AAB is a mid, vivid violet. Relative luminance 0.080; OKLCH L 45.6% C 0.193 H 304.3°. Best body text is #FFFFFF at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#702AAB
RGBrgb(112, 42, 171)
HSLhsl(273, 61%, 42%)
HSVhsv(273, 75%, 67%)
CMYKcmyk(34.5%, 75.4%, 0%, 32.9%)
CIE-LABlab(34.07, 53.54, -56.06)
CIE-LCHlch(34.07, 77.52, 313.68°)
OKLaboklab(45.57% 0.1089 -0.1597)
OKLCHoklch(45.57% 0.193 304.3)
XYZxyz(14.8591, 8.0410, 39.2894)
Luminance0.0804 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702AAB #65AB2A
analogous
#302AAB #702AAB #AB2AA6
triadic
#702AAB #AB702A #2AAB70
tetradic
#702AAB #AB302A #65AB2A #2AA6AB
square
#702AAB #AB302A #65AB2A #2AA6AB
split-complementary
#702AAB #A6AB2A #2AAB30
monochromatic
#301249 #501E7A #702AAB #8F42D1 #AC73DD

Accessibility & contrast

On white

8.05
#702AAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#702AAB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #702AAB
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702AAB#FFFFFF#000000##FFFFFF
##702AAB1.008.052.618.05
#FFFFFF8.051.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EAF
Deuteranopia (green-blind)
#0050A8
Tritanopia (blue-blind)
#654A69
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #702aab;
/* rgb */ color: rgb(112, 42, 171);
/* oklch */ color: oklch(45.6% 0.193 304.3);
Tailwind
colors: {
  custom: {
    50: '#9e6bc5',
    500: '#702aab',
    950: '#000000',
  },
}
SCSS
$custom: #702aab;
$custom-light: #9e6bc5;
$custom-dark: #000000;
JSON
{
  "hex": "#702aab",
  "rgb": {
    "r": 112,
    "g": 42,
    "b": 171
  },
  "hsl": {
    "h": 272.558,
    "s": 60.563,
    "l": 41.765
  },
  "oklch": {
    "l": 0.45571,
    "c": 0.19325,
    "h": 304.3
  },
  "luminance": 0.08041
}

Semantic roles & 50–950 ramp

primary
#702AAB
secondary
#95C46D
accent
#E4448D
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #702AAB

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

Preview Lab → · Contrast checker → · Palette generator →

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