#702EA4#702EA4

#702EA4 is a mid, vivid violet. Relative luminance 0.081; OKLCH L 45.5% C 0.181 H 305.9°. Best body text is #FFFFFF at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#702EA4
RGBrgb(112, 46, 164)
HSLhsl(274, 56%, 41%)
HSVhsv(274, 72%, 64%)
CMYKcmyk(31.7%, 72%, 0%, 35.7%)
CIE-LABlab(34.15, 50.14, -51.73)
CIE-LCHlch(34.15, 72.04, 314.11°)
OKLaboklab(45.46% 0.1063 -0.1469)
OKLCHoklch(45.46% 0.181 305.9)
XYZxyz(14.3585, 8.0792, 35.9178)
Luminance0.0808 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702EA4 #62A42E
analogous
#352EA4 #702EA4 #A42E9D
triadic
#702EA4 #A4702E #2EA470
tetradic
#702EA4 #A4352E #62A42E #2E9DA4
square
#702EA4 #A4352E #62A42E #2E9DA4
split-complementary
#702EA4 #9DA42E #2EA435
monochromatic
#2F1344 #4F2174 #702EA4 #9045CB #AC74D8

Accessibility & contrast

On white

8.03
#702EA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#702EA4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #702EA4
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702EA4#FFFFFF#000000##FFFFFF
##702EA41.008.032.628.03
#FFFFFF8.031.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA7
Deuteranopia (green-blind)
#0051A2
Tritanopia (blue-blind)
#674966
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #702ea4;
/* rgb */ color: rgb(112, 46, 164);
/* oklch */ color: oklch(45.5% 0.181 305.9);
Tailwind
colors: {
  custom: {
    50: '#9e6dc0',
    500: '#702ea4',
    950: '#000000',
  },
}
SCSS
$custom: #702ea4;
$custom-light: #9e6dc0;
$custom-dark: #000000;
JSON
{
  "hex": "#702ea4",
  "rgb": {
    "r": 112,
    "g": 46,
    "b": 164
  },
  "hsl": {
    "h": 273.559,
    "s": 56.19,
    "l": 41.176
  },
  "oklch": {
    "l": 0.45458,
    "c": 0.18137,
    "h": 305.9
  },
  "luminance": 0.08079
}

Semantic roles & 50–950 ramp

primary
#702EA4
secondary
#92C06E
accent
#DF488B
background
#FAF6FB
surface
#F4ECF7
border
#CEC7D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #702EA4

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

Preview Lab → · Contrast checker → · Palette generator →

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