#702EA5#702EA5

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

Color values

HEX#702EA5
RGBrgb(112, 46, 165)
HSLhsl(273, 56%, 41%)
HSVhsv(273, 72%, 65%)
CMYKcmyk(32.1%, 72.1%, 0%, 35.3%)
CIE-LABlab(34.22, 50.38, -52.21)
CIE-LCHlch(34.22, 72.55, 313.98°)
OKLaboklab(45.54% 0.1061 -0.1484)
OKLCHoklch(45.54% 0.182 305.6)
XYZxyz(14.4491, 8.1155, 36.3953)
Luminance0.0811 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702EA5 #63A52E
analogous
#352EA5 #702EA5 #A52E9F
triadic
#702EA5 #A5702E #2EA570
tetradic
#702EA5 #A5352E #63A52E #2E9FA5
square
#702EA5 #A5352E #63A52E #2E9FA5
split-complementary
#702EA5 #9FA52E #2EA535
monochromatic
#2F1345 #502175 #702EA5 #8F45CB #AC75D8

Accessibility & contrast

On white

8.01
#702EA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #702EA5
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702EA5#FFFFFF#000000##FFFFFF
##702EA51.008.012.628.01
#FFFFFF8.011.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA8
Deuteranopia (green-blind)
#0051A3
Tritanopia (blue-blind)
#664A66
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #702ea5;
/* rgb */ color: rgb(112, 46, 165);
/* oklch */ color: oklch(45.5% 0.182 305.6);
Tailwind
colors: {
  custom: {
    50: '#9e6dc0',
    500: '#702ea5',
    950: '#000000',
  },
}
SCSS
$custom: #702ea5;
$custom-light: #9e6dc0;
$custom-dark: #000000;
JSON
{
  "hex": "#702ea5",
  "rgb": {
    "r": 112,
    "g": 46,
    "b": 165
  },
  "hsl": {
    "h": 273.277,
    "s": 56.398,
    "l": 41.373
  },
  "oklch": {
    "l": 0.45535,
    "c": 0.18243,
    "h": 305.6
  },
  "luminance": 0.08115
}

Semantic roles & 50–950 ramp

primary
#702EA5
secondary
#93C06F
accent
#E0488C
background
#FAF6FB
surface
#F4ECF7
border
#CEC7D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #702EA5

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

Preview Lab → · Contrast checker → · Palette generator →

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