#702EAA#702EAA

#702EAA is a mid, vivid violet. Relative luminance 0.083; OKLCH L 45.9% C 0.188 H 304.1°. Best body text is #FFFFFF at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#702EAA
RGBrgb(112, 46, 170)
HSLhsl(272, 57%, 42%)
HSVhsv(272, 73%, 67%)
CMYKcmyk(34.1%, 72.9%, 0%, 33.3%)
CIE-LABlab(34.60, 51.57, -54.59)
CIE-LCHlch(34.60, 75.10, 313.37°)
OKLaboklab(45.92% 0.1053 -0.1554)
OKLCHoklch(45.92% 0.188 304.1)
XYZxyz(14.9131, 8.3011, 38.8390)
Luminance0.0830 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702EAA #68AA2E
analogous
#322EAA #702EAA #AA2EA6
triadic
#702EAA #AA702E #2EAA70
tetradic
#702EAA #AA322E #68AA2E #2EA6AA
square
#702EAA #AA322E #68AA2E #2EA6AA
split-complementary
#702EAA #A6AA2E #2EAA32
monochromatic
#31144A #50217A #702EAA #8F48CD #AC78DA

Accessibility & contrast

On white

7.89
#702EAA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#702EAA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #702EAA
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702EAA#FFFFFF#000000##FFFFFF
##702EAA1.007.892.667.89
#FFFFFF7.891.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050AE
Deuteranopia (green-blind)
#0051A7
Tritanopia (blue-blind)
#654C69
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #702eaa;
/* rgb */ color: rgb(112, 46, 170);
/* oklch */ color: oklch(45.9% 0.188 304.1);
Tailwind
colors: {
  custom: {
    50: '#9e6dc4',
    500: '#702eaa',
    950: '#000000',
  },
}
SCSS
$custom: #702eaa;
$custom-light: #9e6dc4;
$custom-dark: #000000;
JSON
{
  "hex": "#702eaa",
  "rgb": {
    "r": 112,
    "g": 46,
    "b": 170
  },
  "hsl": {
    "h": 271.935,
    "s": 57.407,
    "l": 42.353
  },
  "oklch": {
    "l": 0.45924,
    "c": 0.18767,
    "h": 304.1
  },
  "luminance": 0.08301
}

Semantic roles & 50–950 ramp

primary
#702EAA
secondary
#97C371
accent
#E1478F
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #702EAA

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

Preview Lab → · Contrast checker → · Palette generator →

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