#702AB2#702AB2

#702AB2 is a mid, highly saturated violet. Relative luminance 0.083; OKLCH L 46.1% C 0.200 H 302.4°. Best body text is #FFFFFF at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#702AB2
RGBrgb(112, 42, 178)
HSLhsl(271, 62%, 43%)
HSVhsv(271, 76%, 70%)
CMYKcmyk(37.1%, 76.4%, 0%, 30.2%)
CIE-LABlab(34.63, 55.19, -59.32)
CIE-LCHlch(34.63, 81.03, 312.94°)
OKLaboklab(46.14% 0.1073 -0.1693)
OKLCHoklch(46.14% 0.2 302.4)
XYZxyz(15.5440, 8.3150, 42.8969)
Luminance0.0832 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702AB2 #6CB22A
analogous
#2C2AB2 #702AB2 #B22AB0
triadic
#702AB2 #B2702A #2AB270
tetradic
#702AB2 #B22C2A #6CB22A #2AB0B2
square
#702AB2 #B22C2A #6CB22A #2AB0B2
split-complementary
#702AB2 #B0B22A #2AB22C
monochromatic
#32134F #511E80 #702AB2 #8F46D3 #AD77DF

Accessibility & contrast

On white

7.89
#702AB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#702AB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #702AB2
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702AB2#FFFFFF#000000##FFFFFF
##702AB21.007.892.667.89
#FFFFFF7.891.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B6
Deuteranopia (green-blind)
#0051AF
Tritanopia (blue-blind)
#624D6D
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #702ab2;
/* rgb */ color: rgb(112, 42, 178);
/* oklch */ color: oklch(46.1% 0.200 302.4);
Tailwind
colors: {
  custom: {
    50: '#9f6bca',
    500: '#702ab2',
    950: '#000000',
  },
}
SCSS
$custom: #702ab2;
$custom-light: #9f6bca;
$custom-dark: #000000;
JSON
{
  "hex": "#702ab2",
  "rgb": {
    "r": 112,
    "g": 42,
    "b": 178
  },
  "hsl": {
    "h": 270.882,
    "s": 61.818,
    "l": 43.137
  },
  "oklch": {
    "l": 0.46142,
    "c": 0.20038,
    "h": 302.4
  },
  "luminance": 0.08315
}

Semantic roles & 50–950 ramp

primary
#702AB2
secondary
#9BC771
accent
#E54392
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #702AB2

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

Preview Lab → · Contrast checker → · Palette generator →

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