#702AB3#702AB3

#702AB3 is a mid, highly saturated violet. Relative luminance 0.084; OKLCH L 46.2% C 0.201 H 302.1°. Best body text is #FFFFFF at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#702AB3
RGBrgb(112, 42, 179)
HSLhsl(271, 62%, 43%)
HSVhsv(271, 77%, 70%)
CMYKcmyk(37.4%, 76.5%, 0%, 29.8%)
CIE-LABlab(34.71, 55.43, -59.78)
CIE-LCHlch(34.71, 81.53, 312.84°)
OKLaboklab(46.22% 0.107 -0.1706)
OKLCHoklch(46.22% 0.201 302.1)
XYZxyz(15.6448, 8.3553, 43.4276)
Luminance0.0835 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702AB3 #6DB32A
analogous
#2B2AB3 #702AB3 #B32AB1
triadic
#702AB3 #B3702A #2AB370
tetradic
#702AB3 #B32B2A #6DB32A #2AB1B3
square
#702AB3 #B32B2A #6DB32A #2AB1B3
split-complementary
#702AB3 #B1B32A #2AB32B
monochromatic
#321350 #511E81 #702AB3 #8F46D4 #AD78DF

Accessibility & contrast

On white

7.86
#702AB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#702AB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #702AB3
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702AB3#FFFFFF#000000##FFFFFF
##702AB31.007.862.677.86
#FFFFFF7.861.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B7
Deuteranopia (green-blind)
#0051B0
Tritanopia (blue-blind)
#624E6D
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #702ab3;
/* rgb */ color: rgb(112, 42, 179);
/* oklch */ color: oklch(46.2% 0.201 302.1);
Tailwind
colors: {
  custom: {
    50: '#9f6bcb',
    500: '#702ab3',
    950: '#000000',
  },
}
SCSS
$custom: #702ab3;
$custom-light: #9f6bcb;
$custom-dark: #000000;
JSON
{
  "hex": "#702ab3",
  "rgb": {
    "r": 112,
    "g": 42,
    "b": 179
  },
  "hsl": {
    "h": 270.657,
    "s": 61.991,
    "l": 43.333
  },
  "oklch": {
    "l": 0.46224,
    "c": 0.20139,
    "h": 302.1
  },
  "luminance": 0.08355
}

Semantic roles & 50–950 ramp

primary
#702AB3
secondary
#9BC772
accent
#E54392
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #702AB3

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

Preview Lab → · Contrast checker → · Palette generator →

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