#702EA7#702EA7

#702EA7 is a mid, vivid violet. Relative luminance 0.082; OKLCH L 45.7% C 0.185 H 305.0°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#702EA7
RGBrgb(112, 46, 167)
HSLhsl(273, 57%, 42%)
HSVhsv(273, 72%, 65%)
CMYKcmyk(32.9%, 72.5%, 0%, 34.5%)
CIE-LABlab(34.37, 50.85, -53.17)
CIE-LCHlch(34.37, 73.57, 313.72°)
OKLaboklab(45.69% 0.1058 -0.1512)
OKLCHoklch(45.69% 0.185 305)
XYZxyz(14.6326, 8.1888, 37.3615)
Luminance0.0819 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702EA7 #65A72E
analogous
#332EA7 #702EA7 #A72EA2
triadic
#702EA7 #A7702E #2EA770
tetradic
#702EA7 #A7332E #65A72E #2EA2A7
square
#702EA7 #A7332E #65A72E #2EA2A7
split-complementary
#702EA7 #A2A72E #2EA733
monochromatic
#301447 #502177 #702EA7 #8F46CC #AC76D9

Accessibility & contrast

On white

7.96
#702EA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#702EA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #702EA7
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702EA7#FFFFFF#000000##FFFFFF
##702EA71.007.962.647.96
#FFFFFF7.961.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FAA
Deuteranopia (green-blind)
#0051A4
Tritanopia (blue-blind)
#664B68
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #702ea7;
/* rgb */ color: rgb(112, 46, 167);
/* oklch */ color: oklch(45.7% 0.185 305.0);
Tailwind
colors: {
  custom: {
    50: '#9e6dc2',
    500: '#702ea7',
    950: '#000000',
  },
}
SCSS
$custom: #702ea7;
$custom-light: #9e6dc2;
$custom-dark: #000000;
JSON
{
  "hex": "#702ea7",
  "rgb": {
    "r": 112,
    "g": 46,
    "b": 167
  },
  "hsl": {
    "h": 272.727,
    "s": 56.808,
    "l": 41.765
  },
  "oklch": {
    "l": 0.4569,
    "c": 0.18452,
    "h": 305
  },
  "luminance": 0.08189
}

Semantic roles & 50–950 ramp

primary
#702EA7
secondary
#95C170
accent
#E0488D
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #702EA7

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

Preview Lab → · Contrast checker → · Palette generator →

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