#702EA3#702EA3

#702EA3 is a mid, vivid violet. Relative luminance 0.080; OKLCH L 45.4% C 0.180 H 306.2°. Best body text is #FFFFFF at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#702EA3
RGBrgb(112, 46, 163)
HSLhsl(274, 56%, 41%)
HSVhsv(274, 72%, 64%)
CMYKcmyk(31.3%, 71.8%, 0%, 36.1%)
CIE-LABlab(34.07, 49.91, -51.25)
CIE-LCHlch(34.07, 71.53, 314.24°)
OKLaboklab(45.38% 0.1065 -0.1455)
OKLCHoklch(45.38% 0.18 306.2)
XYZxyz(14.2685, 8.0432, 35.4440)
Luminance0.0804 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702EA3 #61A32E
analogous
#352EA3 #702EA3 #A32E9B
triadic
#702EA3 #A3702E #2EA370
tetradic
#702EA3 #A3352E #61A32E #2E9BA3
square
#702EA3 #A3352E #61A32E #2E9BA3
split-complementary
#702EA3 #9BA32E #2EA335
monochromatic
#2E1344 #4F2173 #702EA3 #9044CA #AC74D8

Accessibility & contrast

On white

8.05
#702EA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#702EA3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #702EA3
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702EA3#FFFFFF#000000##FFFFFF
##702EA31.008.052.618.05
#FFFFFF8.051.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA6
Deuteranopia (green-blind)
#0050A1
Tritanopia (blue-blind)
#674965
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #702ea3;
/* rgb */ color: rgb(112, 46, 163);
/* oklch */ color: oklch(45.4% 0.180 306.2);
Tailwind
colors: {
  custom: {
    50: '#9e6dbf',
    500: '#702ea3',
    950: '#000000',
  },
}
SCSS
$custom: #702ea3;
$custom-light: #9e6dbf;
$custom-dark: #000000;
JSON
{
  "hex": "#702ea3",
  "rgb": {
    "r": 112,
    "g": 46,
    "b": 163
  },
  "hsl": {
    "h": 273.846,
    "s": 55.981,
    "l": 40.98
  },
  "oklch": {
    "l": 0.45382,
    "c": 0.18032,
    "h": 306.2
  },
  "luminance": 0.08043
}

Semantic roles & 50–950 ramp

primary
#702EA3
secondary
#91BF6D
accent
#DF498A
background
#FAF6FB
surface
#F3ECF7
border
#CDC7D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #702EA3

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

Preview Lab → · Contrast checker → · Palette generator →

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