#702EA6#702EA6

#702EA6 is a mid, vivid violet. Relative luminance 0.082; OKLCH L 45.6% C 0.183 H 305.3°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#702EA6
RGBrgb(112, 46, 166)
HSLhsl(273, 57%, 42%)
HSVhsv(273, 72%, 65%)
CMYKcmyk(32.5%, 72.3%, 0%, 34.9%)
CIE-LABlab(34.30, 50.61, -52.69)
CIE-LCHlch(34.30, 73.06, 313.85°)
OKLaboklab(45.61% 0.106 -0.1498)
OKLCHoklch(45.61% 0.183 305.3)
XYZxyz(14.5405, 8.1520, 36.8765)
Luminance0.0815 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702EA6 #64A62E
analogous
#342EA6 #702EA6 #A62EA0
triadic
#702EA6 #A6702E #2EA670
tetradic
#702EA6 #A6342E #64A62E #2EA0A6
square
#702EA6 #A6342E #64A62E #2EA0A6
split-complementary
#702EA6 #A0A62E #2EA634
monochromatic
#2F1346 #502176 #702EA6 #8F46CC #AC76D9

Accessibility & contrast

On white

7.98
#702EA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#702EA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #702EA6
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702EA6#FFFFFF#000000##FFFFFF
##702EA61.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA9
Deuteranopia (green-blind)
#0051A3
Tritanopia (blue-blind)
#664A67
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #702ea6;
/* rgb */ color: rgb(112, 46, 166);
/* oklch */ color: oklch(45.6% 0.183 305.3);
Tailwind
colors: {
  custom: {
    50: '#9e6dc1',
    500: '#702ea6',
    950: '#000000',
  },
}
SCSS
$custom: #702ea6;
$custom-light: #9e6dc1;
$custom-dark: #000000;
JSON
{
  "hex": "#702ea6",
  "rgb": {
    "r": 112,
    "g": 46,
    "b": 166
  },
  "hsl": {
    "h": 273,
    "s": 56.604,
    "l": 41.569
  },
  "oklch": {
    "l": 0.45612,
    "c": 0.18348,
    "h": 305.3
  },
  "luminance": 0.08152
}

Semantic roles & 50–950 ramp

primary
#702EA6
secondary
#94C16F
accent
#E0488C
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #702EA6

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

Preview Lab → · Contrast checker → · Palette generator →

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