#702EAD#702EAD

#702EAD is a mid, vivid violet. Relative luminance 0.084; OKLCH L 46.2% C 0.191 H 303.3°. Best body text is #FFFFFF at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#702EAD
RGBrgb(112, 46, 173)
HSLhsl(271, 58%, 43%)
HSVhsv(271, 73%, 68%)
CMYKcmyk(35.3%, 73.4%, 0%, 32.2%)
CIE-LABlab(34.83, 52.28, -56.01)
CIE-LCHlch(34.83, 76.62, 313.03°)
OKLaboklab(46.16% 0.1047 -0.1595)
OKLCHoklch(46.16% 0.191 303.3)
XYZxyz(15.2001, 8.4159, 40.3507)
Luminance0.0842 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702EAD #6BAD2E
analogous
#302EAD #702EAD #AD2EAA
triadic
#702EAD #AD702E #2EAD70
tetradic
#702EAD #AD302E #6BAD2E #2EAAAD
square
#702EAD #AD302E #6BAD2E #2EAAAD
split-complementary
#702EAD #AAAD2E #2EAD30
monochromatic
#31144C #51217D #702EAD #8F49CF #AD7ADC

Accessibility & contrast

On white

7.83
#702EAD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#702EAD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #702EAD
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702EAD#FFFFFF#000000##FFFFFF
##702EAD1.007.832.687.83
#FFFFFF7.831.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B1
Deuteranopia (green-blind)
#0052AA
Tritanopia (blue-blind)
#644D6B
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #702ead;
/* rgb */ color: rgb(112, 46, 173);
/* oklch */ color: oklch(46.2% 0.191 303.3);
Tailwind
colors: {
  custom: {
    50: '#9e6dc6',
    500: '#702ead',
    950: '#000000',
  },
}
SCSS
$custom: #702ead;
$custom-light: #9e6dc6;
$custom-dark: #000000;
JSON
{
  "hex": "#702ead",
  "rgb": {
    "r": 112,
    "g": 46,
    "b": 173
  },
  "hsl": {
    "h": 271.181,
    "s": 57.991,
    "l": 42.941
  },
  "oklch": {
    "l": 0.46161,
    "c": 0.19082,
    "h": 303.3
  },
  "luminance": 0.08416
}

Semantic roles & 50–950 ramp

primary
#702EAD
secondary
#9AC473
accent
#E14791
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #702EAD

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

Preview Lab → · Contrast checker → · Palette generator →

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