#702BAE#702BAE

#702BAE is a mid, vivid violet. Relative luminance 0.082; OKLCH L 45.9% C 0.195 H 303.3°. Best body text is #FFFFFF at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#702BAE
RGBrgb(112, 43, 174)
HSLhsl(272, 60%, 43%)
HSVhsv(272, 75%, 68%)
CMYKcmyk(35.6%, 75.3%, 0%, 31.8%)
CIE-LABlab(34.45, 53.83, -57.23)
CIE-LCHlch(34.45, 78.56, 313.25°)
OKLaboklab(45.92% 0.1073 -0.1631)
OKLCHoklch(45.92% 0.195 303.3)
XYZxyz(15.1842, 8.2285, 40.8245)
Luminance0.0823 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702BAE #69AE2B
analogous
#2E2BAE #702BAE #AE2BAB
triadic
#702BAE #AE702B #2BAE70
tetradic
#702BAE #AE2E2B #69AE2B #2BABAE
square
#702BAE #AE2E2B #69AE2B #2BABAE
split-complementary
#702BAE #ABAE2B #2BAE2E
monochromatic
#31134C #501F7D #702BAE #8F45D1 #AC76DD

Accessibility & contrast

On white

7.94
#702BAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#702BAE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #702BAE
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702BAE#FFFFFF#000000##FFFFFF
##702BAE1.007.942.657.94
#FFFFFF7.941.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B2
Deuteranopia (green-blind)
#0051AB
Tritanopia (blue-blind)
#634C6B
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #702bae;
/* rgb */ color: rgb(112, 43, 174);
/* oklch */ color: oklch(45.9% 0.195 303.3);
Tailwind
colors: {
  custom: {
    50: '#9f6bc7',
    500: '#702bae',
    950: '#000000',
  },
}
SCSS
$custom: #702bae;
$custom-light: #9f6bc7;
$custom-dark: #000000;
JSON
{
  "hex": "#702bae",
  "rgb": {
    "r": 112,
    "g": 43,
    "b": 174
  },
  "hsl": {
    "h": 271.603,
    "s": 60.369,
    "l": 42.549
  },
  "oklch": {
    "l": 0.45917,
    "c": 0.19522,
    "h": 303.3
  },
  "luminance": 0.08228
}

Semantic roles & 50–950 ramp

primary
#702BAE
secondary
#98C570
accent
#E44490
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #702BAE

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

Preview Lab → · Contrast checker → · Palette generator →

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