#702BAC#702BAC

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

Color values

HEX#702BAC
RGBrgb(112, 43, 172)
HSLhsl(272, 60%, 42%)
HSVhsv(272, 75%, 67%)
CMYKcmyk(34.9%, 75%, 0%, 32.5%)
CIE-LABlab(34.30, 53.35, -56.29)
CIE-LCHlch(34.30, 77.56, 313.47°)
OKLaboklab(45.76% 0.1077 -0.1603)
OKLCHoklch(45.76% 0.193 303.9)
XYZxyz(14.9906, 8.1511, 39.8053)
Luminance0.0815 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702BAC #67AC2B
analogous
#302BAC #702BAC #AC2BA8
triadic
#702BAC #AC702B #2BAC70
tetradic
#702BAC #AC302B #67AC2B #2BA8AC
square
#702BAC #AC302B #67AC2B #2BA8AC
split-complementary
#702BAC #A8AC2B #2BAC30
monochromatic
#30134A #501F7B #702BAC #8F44D0 #AC75DC

Accessibility & contrast

On white

7.98
#702BAC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#702BAC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #702BAC
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702BAC#FFFFFF#000000##FFFFFF
##702BAC1.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #702bac;
/* rgb */ color: rgb(112, 43, 172);
/* oklch */ color: oklch(45.8% 0.193 303.9);
Tailwind
colors: {
  custom: {
    50: '#9f6bc6',
    500: '#702bac',
    950: '#000000',
  },
}
SCSS
$custom: #702bac;
$custom-light: #9f6bc6;
$custom-dark: #000000;
JSON
{
  "hex": "#702bac",
  "rgb": {
    "r": 112,
    "g": 43,
    "b": 172
  },
  "hsl": {
    "h": 272.093,
    "s": 60,
    "l": 42.157
  },
  "oklch": {
    "l": 0.45756,
    "c": 0.19318,
    "h": 303.9
  },
  "luminance": 0.08151
}

Semantic roles & 50–950 ramp

primary
#702BAC
secondary
#96C46F
accent
#E3458E
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #702BAC

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

Preview Lab → · Contrast checker → · Palette generator →

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