#702EA8#702EA8

#702EA8 is a mid, vivid violet. Relative luminance 0.082; OKLCH L 45.8% C 0.186 H 304.7°. Best body text is #FFFFFF at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#702EA8
RGBrgb(112, 46, 168)
HSLhsl(272, 57%, 42%)
HSVhsv(272, 73%, 66%)
CMYKcmyk(33.3%, 72.6%, 0%, 34.1%)
CIE-LABlab(34.45, 51.09, -53.64)
CIE-LCHlch(34.45, 74.08, 313.60°)
OKLaboklab(45.77% 0.1056 -0.1526)
OKLCHoklch(45.77% 0.186 304.7)
XYZxyz(14.7254, 8.2260, 37.8502)
Luminance0.0823 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702EA8 #66A82E
analogous
#332EA8 #702EA8 #A82EA3
triadic
#702EA8 #A8702E #2EA870
tetradic
#702EA8 #A8332E #66A82E #2EA3A8
square
#702EA8 #A8332E #66A82E #2EA3A8
split-complementary
#702EA8 #A3A82E #2EA833
monochromatic
#301448 #502178 #702EA8 #8F47CD #AC77DA

Accessibility & contrast

On white

7.94
#702EA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#702EA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #702EA8
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702EA8#FFFFFF#000000##FFFFFF
##702EA81.007.942.657.94
#FFFFFF7.941.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FAC
Deuteranopia (green-blind)
#0051A5
Tritanopia (blue-blind)
#654B68
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #702ea8;
/* rgb */ color: rgb(112, 46, 168);
/* oklch */ color: oklch(45.8% 0.186 304.7);
Tailwind
colors: {
  custom: {
    50: '#9e6dc3',
    500: '#702ea8',
    950: '#000000',
  },
}
SCSS
$custom: #702ea8;
$custom-light: #9e6dc3;
$custom-dark: #000000;
JSON
{
  "hex": "#702ea8",
  "rgb": {
    "r": 112,
    "g": 46,
    "b": 168
  },
  "hsl": {
    "h": 272.459,
    "s": 57.009,
    "l": 41.961
  },
  "oklch": {
    "l": 0.45767,
    "c": 0.18557,
    "h": 304.7
  },
  "luminance": 0.08226
}

Semantic roles & 50–950 ramp

primary
#702EA8
secondary
#96C270
accent
#E0488E
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #702EA8

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

Preview Lab → · Contrast checker → · Palette generator →

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