#702AB1#702AB1

#702AB1 is a mid, vivid violet. Relative luminance 0.083; OKLCH L 46.1% C 0.199 H 302.6°. Best body text is #FFFFFF at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#702AB1
RGBrgb(112, 42, 177)
HSLhsl(271, 62%, 43%)
HSVhsv(271, 76%, 69%)
CMYKcmyk(36.7%, 76.3%, 0%, 30.6%)
CIE-LABlab(34.55, 54.96, -58.86)
CIE-LCHlch(34.55, 80.53, 313.04°)
OKLaboklab(46.06% 0.1075 -0.1679)
OKLCHoklch(46.06% 0.199 302.6)
XYZxyz(15.4440, 8.2750, 42.3700)
Luminance0.0828 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702AB1 #6BB12A
analogous
#2C2AB1 #702AB1 #B12AAE
triadic
#702AB1 #B1702A #2AB170
tetradic
#702AB1 #B12C2A #6BB12A #2AAEB1
square
#702AB1 #B12C2A #6BB12A #2AAEB1
split-complementary
#702AB1 #AEB12A #2AB12C
monochromatic
#31134E #511E80 #702AB1 #8F45D3 #AD77DF

Accessibility & contrast

On white

7.91
#702AB1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #702AB1
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702AB1#FFFFFF#000000##FFFFFF
##702AB11.007.912.667.91
#FFFFFF7.911.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B5
Deuteranopia (green-blind)
#0051AE
Tritanopia (blue-blind)
#624D6C
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #702ab1;
/* rgb */ color: rgb(112, 42, 177);
/* oklch */ color: oklch(46.1% 0.199 302.6);
Tailwind
colors: {
  custom: {
    50: '#9f6bc9',
    500: '#702ab1',
    950: '#000000',
  },
}
SCSS
$custom: #702ab1;
$custom-light: #9f6bc9;
$custom-dark: #000000;
JSON
{
  "hex": "#702ab1",
  "rgb": {
    "r": 112,
    "g": 42,
    "b": 177
  },
  "hsl": {
    "h": 271.111,
    "s": 61.644,
    "l": 42.941
  },
  "oklch": {
    "l": 0.46059,
    "c": 0.19936,
    "h": 302.6
  },
  "luminance": 0.08275
}

Semantic roles & 50–950 ramp

primary
#702AB1
secondary
#9AC670
accent
#E54391
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #702AB1

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

Preview Lab → · Contrast checker → · Palette generator →

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