#702AAC#702AAC

#702AAC is a mid, vivid violet. Relative luminance 0.081; OKLCH L 45.7% C 0.194 H 304.0°. Best body text is #FFFFFF at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#702AAC
RGBrgb(112, 42, 172)
HSLhsl(272, 61%, 42%)
HSVhsv(272, 76%, 67%)
CMYKcmyk(34.9%, 75.6%, 0%, 32.5%)
CIE-LABlab(34.15, 53.78, -56.53)
CIE-LCHlch(34.15, 78.02, 313.57°)
OKLaboklab(45.65% 0.1087 -0.161)
OKLCHoklch(45.65% 0.194 304)
XYZxyz(14.9547, 8.0793, 39.7933)
Luminance0.0808 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702AAC #66AC2A
analogous
#2F2AAC #702AAC #AC2AA7
triadic
#702AAC #AC702A #2AAC70
tetradic
#702AAC #AC2F2A #66AC2A #2AA7AC
square
#702AAC #AC2F2A #66AC2A #2AA7AC
split-complementary
#702AAC #A7AC2A #2AAC2F
monochromatic
#30124A #501E7B #702AAC #8F42D1 #AC73DD

Accessibility & contrast

On white

8.03
#702AAC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #702AAC
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702AAC#FFFFFF#000000##FFFFFF
##702AAC1.008.032.628.03
#FFFFFF8.031.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB0
Deuteranopia (green-blind)
#0050A9
Tritanopia (blue-blind)
#644B69
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #702aac;
/* rgb */ color: rgb(112, 42, 172);
/* oklch */ color: oklch(45.7% 0.194 304.0);
Tailwind
colors: {
  custom: {
    50: '#9f6bc6',
    500: '#702aac',
    950: '#000000',
  },
}
SCSS
$custom: #702aac;
$custom-light: #9f6bc6;
$custom-dark: #000000;
JSON
{
  "hex": "#702aac",
  "rgb": {
    "r": 112,
    "g": 42,
    "b": 172
  },
  "hsl": {
    "h": 272.308,
    "s": 60.748,
    "l": 41.961
  },
  "oklch": {
    "l": 0.45652,
    "c": 0.19427,
    "h": 304
  },
  "luminance": 0.08079
}

Semantic roles & 50–950 ramp

primary
#702AAC
secondary
#96C46D
accent
#E4448E
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #702AAC

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

Preview Lab → · Contrast checker → · Palette generator →

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