#702EAE#702EAE

#702EAE is a mid, vivid violet. Relative luminance 0.085; OKLCH L 46.2% C 0.192 H 303.0°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#702EAE
RGBrgb(112, 46, 174)
HSLhsl(271, 58%, 43%)
HSVhsv(271, 74%, 68%)
CMYKcmyk(35.6%, 73.6%, 0%, 31.8%)
CIE-LABlab(34.91, 52.52, -56.48)
CIE-LCHlch(34.91, 77.13, 312.92°)
OKLaboklab(46.24% 0.1045 -0.1609)
OKLCHoklch(46.24% 0.192 303)
XYZxyz(15.2973, 8.4547, 40.8622)
Luminance0.0846 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702EAE #6CAE2E
analogous
#302EAE #702EAE #AE2EAC
triadic
#702EAE #AE702E #2EAE70
tetradic
#702EAE #AE302E #6CAE2E #2EACAE
square
#702EAE #AE302E #6CAE2E #2EACAE
split-complementary
#702EAE #ACAE2E #2EAE30
monochromatic
#32144D #51217E #702EAE #8F4ACF #AD7ADC

Accessibility & contrast

On white

7.80
#702EAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#702EAE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #702EAE
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702EAE#FFFFFF#000000##FFFFFF
##702EAE1.007.802.697.80
#FFFFFF7.801.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B2
Deuteranopia (green-blind)
#0052AB
Tritanopia (blue-blind)
#634E6B
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #702eae;
/* rgb */ color: rgb(112, 46, 174);
/* oklch */ color: oklch(46.2% 0.192 303.0);
Tailwind
colors: {
  custom: {
    50: '#9f6dc7',
    500: '#702eae',
    950: '#000000',
  },
}
SCSS
$custom: #702eae;
$custom-light: #9f6dc7;
$custom-dark: #000000;
JSON
{
  "hex": "#702eae",
  "rgb": {
    "r": 112,
    "g": 46,
    "b": 174
  },
  "hsl": {
    "h": 270.938,
    "s": 58.182,
    "l": 43.137
  },
  "oklch": {
    "l": 0.46241,
    "c": 0.19186,
    "h": 303
  },
  "luminance": 0.08455
}

Semantic roles & 50–950 ramp

primary
#702EAE
secondary
#9BC474
accent
#E14691
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #702EAE

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

Preview Lab → · Contrast checker → · Palette generator →

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