#702AC4#702AC4

#702AC4 is a mid, highly saturated violet. Relative luminance 0.091; OKLCH L 47.7% C 0.219 H 297.9°. Best body text is #FFFFFF at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#702AC4
RGBrgb(112, 42, 196)
HSLhsl(267, 65%, 47%)
HSVhsv(267, 79%, 77%)
CMYKcmyk(42.9%, 78.6%, 0%, 23.1%)
CIE-LABlab(36.15, 59.51, -67.46)
CIE-LCHlch(36.15, 89.96, 311.42°)
OKLaboklab(47.67% 0.1025 -0.1931)
OKLCHoklch(47.67% 0.219 297.9)
XYZxyz(17.4713, 9.0859, 53.0471)
Luminance0.0909 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702AC4 #7EC42A
analogous
#2A31C4 #702AC4 #BD2AC4
triadic
#702AC4 #C4702A #2AC470
tetradic
#702AC4 #C42A31 #7EC42A #2AC4BD
square
#702AC4 #C42A31 #7EC42A #2AC4BD
split-complementary
#702AC4 #C4BD2A #31C42A
monochromatic
#36145F #531F92 #702AC4 #8F51DA #B084E5

Accessibility & contrast

On white

7.45
#702AC4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#702AC4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #702AC4
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702AC4#FFFFFF#000000##FFFFFF
##702AC41.007.452.827.45
#FFFFFF7.451.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055C8
Deuteranopia (green-blind)
#0053C1
Tritanopia (blue-blind)
#5A5577
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #702ac4;
/* rgb */ color: rgb(112, 42, 196);
/* oklch */ color: oklch(47.7% 0.219 297.9);
Tailwind
colors: {
  custom: {
    50: '#a16cd7',
    500: '#702ac4',
    950: '#000000',
  },
}
SCSS
$custom: #702ac4;
$custom-light: #a16cd7;
$custom-dark: #000000;
JSON
{
  "hex": "#702ac4",
  "rgb": {
    "r": 112,
    "g": 42,
    "b": 196
  },
  "hsl": {
    "h": 267.273,
    "s": 64.706,
    "l": 46.667
  },
  "oklch": {
    "l": 0.47672,
    "c": 0.21863,
    "h": 297.9
  },
  "luminance": 0.09086
}

Semantic roles & 50–950 ramp

primary
#702AC4
secondary
#A9CE7C
accent
#E8409C
background
#FAF6FD
surface
#F4ECFA
border
#CEC7D3
text
#100715
muted
#7F7A83

Preview Lab

Preview with #702AC4

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

Preview Lab → · Contrast checker → · Palette generator →

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