#702AA8#702AA8

#702AA8 is a mid, vivid violet. Relative luminance 0.079; OKLCH L 45.3% C 0.190 H 305.2°. Best body text is #FFFFFF at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#702AA8
RGBrgb(112, 42, 168)
HSLhsl(273, 60%, 41%)
HSVhsv(273, 75%, 66%)
CMYKcmyk(33.3%, 75%, 0%, 34.1%)
CIE-LABlab(33.83, 52.84, -54.65)
CIE-LCHlch(33.83, 76.01, 314.04°)
OKLaboklab(45.33% 0.1095 -0.1555)
OKLCHoklch(45.33% 0.19 305.2)
XYZxyz(14.5764, 7.9279, 37.8005)
Luminance0.0793 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702AA8 #62A82A
analogous
#312AA8 #702AA8 #A82AA1
triadic
#702AA8 #A8702A #2AA870
tetradic
#702AA8 #A8312A #62A82A #2AA1A8
square
#702AA8 #A8312A #62A82A #2AA1A8
split-complementary
#702AA8 #A1A82A #2AA831
monochromatic
#2F1246 #4F1E77 #702AA8 #9040CF #AC71DB

Accessibility & contrast

On white

8.12
#702AA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #702AA8
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702AA8#FFFFFF#000000##FFFFFF
##702AA81.008.122.598.12
#FFFFFF8.121.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EAC
Deuteranopia (green-blind)
#0050A5
Tritanopia (blue-blind)
#664967
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #702aa8;
/* rgb */ color: rgb(112, 42, 168);
/* oklch */ color: oklch(45.3% 0.190 305.2);
Tailwind
colors: {
  custom: {
    50: '#9e6bc3',
    500: '#702aa8',
    950: '#000000',
  },
}
SCSS
$custom: #702aa8;
$custom-light: #9e6bc3;
$custom-dark: #000000;
JSON
{
  "hex": "#702aa8",
  "rgb": {
    "r": 112,
    "g": 42,
    "b": 168
  },
  "hsl": {
    "h": 273.333,
    "s": 60,
    "l": 41.176
  },
  "oklch": {
    "l": 0.45331,
    "c": 0.1902,
    "h": 305.2
  },
  "luminance": 0.07928
}

Semantic roles & 50–950 ramp

primary
#702AA8
secondary
#92C36B
accent
#E3458B
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #702AA8

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

Preview Lab → · Contrast checker → · Palette generator →

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