#702AAF#702AAF

#702AAF is a mid, vivid violet. Relative luminance 0.082; OKLCH L 45.9% C 0.197 H 303.2°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#702AAF
RGBrgb(112, 42, 175)
HSLhsl(272, 61%, 43%)
HSVhsv(272, 76%, 69%)
CMYKcmyk(36%, 76%, 0%, 31.4%)
CIE-LABlab(34.39, 54.48, -57.93)
CIE-LCHlch(34.39, 79.53, 313.24°)
OKLaboklab(45.9% 0.108 -0.1652)
OKLCHoklch(45.9% 0.197 303.2)
XYZxyz(15.2461, 8.1958, 41.3279)
Luminance0.0820 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702AAF #69AF2A
analogous
#2E2AAF #702AAF #AF2AAB
triadic
#702AAF #AF702A #2AAF70
tetradic
#702AAF #AF2E2A #69AF2A #2AABAF
square
#702AAF #AF2E2A #69AF2A #2AABAF
split-complementary
#702AAF #ABAF2A #2AAF2E
monochromatic
#31124C #501E7E #702AAF #8F44D2 #AC75DE

Accessibility & contrast

On white

7.96
#702AAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#702AAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #702AAF
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702AAF#FFFFFF#000000##FFFFFF
##702AAF1.007.962.647.96
#FFFFFF7.961.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B3
Deuteranopia (green-blind)
#0051AC
Tritanopia (blue-blind)
#634C6B
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #702aaf;
/* rgb */ color: rgb(112, 42, 175);
/* oklch */ color: oklch(45.9% 0.197 303.2);
Tailwind
colors: {
  custom: {
    50: '#9f6bc8',
    500: '#702aaf',
    950: '#000000',
  },
}
SCSS
$custom: #702aaf;
$custom-light: #9f6bc8;
$custom-dark: #000000;
JSON
{
  "hex": "#702aaf",
  "rgb": {
    "r": 112,
    "g": 42,
    "b": 175
  },
  "hsl": {
    "h": 271.579,
    "s": 61.29,
    "l": 42.549
  },
  "oklch": {
    "l": 0.45895,
    "c": 0.19733,
    "h": 303.2
  },
  "luminance": 0.08196
}

Semantic roles & 50–950 ramp

primary
#702AAF
secondary
#98C66F
accent
#E44390
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #702AAF

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

Preview Lab → · Contrast checker → · Palette generator →

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