#702EE2#702EE2

#702EE2 is a mid, highly saturated violet. Relative luminance 0.109; OKLCH L 50.7% C 0.246 H 291.6°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#702EE2
RGBrgb(112, 46, 226)
HSLhsl(262, 76%, 53%)
HSVhsv(262, 80%, 89%)
CMYKcmyk(50.4%, 79.6%, 0%, 11.4%)
CIE-LABlab(39.39, 65.33, -79.47)
CIE-LCHlch(39.39, 102.88, 309.42°)
OKLaboklab(50.75% 0.0904 -0.2284)
OKLCHoklch(50.75% 0.246 291.6)
XYZxyz(21.3826, 10.8889, 72.9119)
Luminance0.1089 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702EE2 #A0E22E
analogous
#2E46E2 #702EE2 #CA2EE2
triadic
#702EE2 #E2702E #2EE270
tetradic
#702EE2 #E22E46 #A0E22E #2EE2CA
square
#702EE2 #E22E46 #A0E22E #2EE2CA
split-complementary
#702EE2 #E2CA2E #46E22E
monochromatic
#3C1283 #541AB9 #702EE2 #9564E9 #BA99F1

Accessibility & contrast

On white

6.61
#702EE2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#702EE2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #702EE2
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702EE2#FFFFFF#000000##FFFFFF
##702EE21.006.613.186.61
#FFFFFF6.611.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FE7
Deuteranopia (green-blind)
#0059DF
Tritanopia (blue-blind)
#486389
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #702ee2;
/* rgb */ color: rgb(112, 46, 226);
/* oklch */ color: oklch(50.7% 0.246 291.6);
Tailwind
colors: {
  custom: {
    50: '#a470ec',
    500: '#702ee2',
    950: '#000000',
  },
}
SCSS
$custom: #702ee2;
$custom-light: #a470ec;
$custom-dark: #000000;
JSON
{
  "hex": "#702ee2",
  "rgb": {
    "r": 112,
    "g": 46,
    "b": 226
  },
  "hsl": {
    "h": 262,
    "s": 75.63,
    "l": 53.333
  },
  "oklch": {
    "l": 0.50746,
    "c": 0.24561,
    "h": 291.6
  },
  "luminance": 0.1089
}

Semantic roles & 50–950 ramp

primary
#702EE2
secondary
#C0DD8F
accent
#F236AD
background
#FAF7FE
surface
#F4EDFD
border
#CEC8D5
text
#110816
muted
#807B84

Preview Lab

Preview with #702EE2

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

Preview Lab → · Contrast checker → · Palette generator →

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