#702EAB#702EAB

#702EAB is a mid, vivid violet. Relative luminance 0.083; OKLCH L 46.0% C 0.189 H 303.8°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#702EAB
RGBrgb(112, 46, 171)
HSLhsl(272, 58%, 43%)
HSVhsv(272, 73%, 67%)
CMYKcmyk(34.5%, 73.1%, 0%, 32.9%)
CIE-LABlab(34.68, 51.81, -55.07)
CIE-LCHlch(34.68, 75.61, 313.25°)
OKLaboklab(46% 0.1051 -0.1568)
OKLCHoklch(46% 0.189 303.8)
XYZxyz(15.0081, 8.3390, 39.3391)
Luminance0.0834 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702EAB #69AB2E
analogous
#312EAB #702EAB #AB2EA8
triadic
#702EAB #AB702E #2EAB70
tetradic
#702EAB #AB312E #69AB2E #2EA8AB
square
#702EAB #AB312E #69AB2E #2EA8AB
split-complementary
#702EAB #A8AB2E #2EAB31
monochromatic
#31144B #50217B #702EAB #8F48CE #AC79DB

Accessibility & contrast

On white

7.87
#702EAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#702EAB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #702EAB
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702EAB#FFFFFF#000000##FFFFFF
##702EAB1.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050AF
Deuteranopia (green-blind)
#0051A8
Tritanopia (blue-blind)
#644C6A
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #702eab;
/* rgb */ color: rgb(112, 46, 171);
/* oklch */ color: oklch(46.0% 0.189 303.8);
Tailwind
colors: {
  custom: {
    50: '#9e6dc5',
    500: '#702eab',
    950: '#000000',
  },
}
SCSS
$custom: #702eab;
$custom-light: #9e6dc5;
$custom-dark: #000000;
JSON
{
  "hex": "#702eab",
  "rgb": {
    "r": 112,
    "g": 46,
    "b": 171
  },
  "hsl": {
    "h": 271.68,
    "s": 57.604,
    "l": 42.549
  },
  "oklch": {
    "l": 0.46003,
    "c": 0.18872,
    "h": 303.8
  },
  "luminance": 0.08339
}

Semantic roles & 50–950 ramp

primary
#702EAB
secondary
#98C372
accent
#E14790
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #702EAB

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

Preview Lab → · Contrast checker → · Palette generator →

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