#702BAD#702BAD

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

Color values

HEX#702BAD
RGBrgb(112, 43, 173)
HSLhsl(272, 60%, 42%)
HSVhsv(272, 75%, 68%)
CMYKcmyk(35.3%, 75.1%, 0%, 32.2%)
CIE-LABlab(34.37, 53.59, -56.76)
CIE-LCHlch(34.37, 78.06, 313.36°)
OKLaboklab(45.84% 0.1075 -0.1617)
OKLCHoklch(45.84% 0.194 303.6)
XYZxyz(15.0870, 8.1896, 40.3130)
Luminance0.0819 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702BAD #68AD2B
analogous
#2F2BAD #702BAD #AD2BA9
triadic
#702BAD #AD702B #2BAD70
tetradic
#702BAD #AD2F2B #68AD2B #2BA9AD
square
#702BAD #AD2F2B #68AD2B #2BA9AD
split-complementary
#702BAD #A9AD2B #2BAD2F
monochromatic
#31134B #501F7C #702BAD #8F45D1 #AC76DD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##702BAD#FFFFFF#000000##FFFFFF
##702BAD1.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)
#004FB1
Deuteranopia (green-blind)
#0051AA
Tritanopia (blue-blind)
#644C6A
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #702bad;
/* rgb */ color: rgb(112, 43, 173);
/* oklch */ color: oklch(45.8% 0.194 303.6);
Tailwind
colors: {
  custom: {
    50: '#9f6bc6',
    500: '#702bad',
    950: '#000000',
  },
}
SCSS
$custom: #702bad;
$custom-light: #9f6bc6;
$custom-dark: #000000;
JSON
{
  "hex": "#702bad",
  "rgb": {
    "r": 112,
    "g": 43,
    "b": 173
  },
  "hsl": {
    "h": 271.846,
    "s": 60.185,
    "l": 42.353
  },
  "oklch": {
    "l": 0.45837,
    "c": 0.1942,
    "h": 303.6
  },
  "luminance": 0.0819
}

Semantic roles & 50–950 ramp

primary
#702BAD
secondary
#97C46F
accent
#E3448F
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #702BAD

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

Preview Lab → · Contrast checker → · Palette generator →

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