#702EAC#702EAC

#702EAC is a mid, vivid violet. Relative luminance 0.084; OKLCH L 46.1% C 0.190 H 303.5°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#702EAC
RGBrgb(112, 46, 172)
HSLhsl(271, 58%, 43%)
HSVhsv(271, 73%, 67%)
CMYKcmyk(34.9%, 73.3%, 0%, 32.5%)
CIE-LABlab(34.76, 52.04, -55.54)
CIE-LCHlch(34.76, 76.11, 313.14°)
OKLaboklab(46.08% 0.1049 -0.1582)
OKLCHoklch(46.08% 0.19 303.5)
XYZxyz(15.1038, 8.3773, 39.8430)
Luminance0.0838 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702EAC #6AAC2E
analogous
#312EAC #702EAC #AC2EA9
triadic
#702EAC #AC702E #2EAC70
tetradic
#702EAC #AC312E #6AAC2E #2EA9AC
square
#702EAC #AC312E #6AAC2E #2EA9AC
split-complementary
#702EAC #A9AC2E #2EAC31
monochromatic
#31144B #51217C #702EAC #8F49CE #AD79DB

Accessibility & contrast

On white

7.85
#702EAC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #702EAC
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702EAC#FFFFFF#000000##FFFFFF
##702EAC1.007.852.687.85
#FFFFFF7.851.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B0
Deuteranopia (green-blind)
#0051A9
Tritanopia (blue-blind)
#644D6A
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #702eac;
/* rgb */ color: rgb(112, 46, 172);
/* oklch */ color: oklch(46.1% 0.190 303.5);
Tailwind
colors: {
  custom: {
    50: '#9e6dc6',
    500: '#702eac',
    950: '#000000',
  },
}
SCSS
$custom: #702eac;
$custom-light: #9e6dc6;
$custom-dark: #000000;
JSON
{
  "hex": "#702eac",
  "rgb": {
    "r": 112,
    "g": 46,
    "b": 172
  },
  "hsl": {
    "h": 271.429,
    "s": 57.798,
    "l": 42.745
  },
  "oklch": {
    "l": 0.46082,
    "c": 0.18977,
    "h": 303.5
  },
  "luminance": 0.08377
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #702EAC

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

Preview Lab → · Contrast checker → · Palette generator →

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