#702AB8#702AB8

#702AB8 is a mid, highly saturated violet. Relative luminance 0.086; OKLCH L 46.6% C 0.206 H 300.8°. Best body text is #FFFFFF at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#702AB8
RGBrgb(112, 42, 184)
HSLhsl(270, 63%, 44%)
HSVhsv(270, 77%, 72%)
CMYKcmyk(39.1%, 77.2%, 0%, 27.8%)
CIE-LABlab(35.13, 56.62, -62.07)
CIE-LCHlch(35.13, 84.02, 312.37°)
OKLaboklab(46.64% 0.1058 -0.1773)
OKLCHoklch(46.64% 0.206 300.8)
XYZxyz(16.1596, 8.5612, 46.1392)
Luminance0.0856 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702AB8 #72B82A
analogous
#2A2BB8 #702AB8 #B72AB8
triadic
#702AB8 #B8702A #2AB870
tetradic
#702AB8 #B82A2B #72B82A #2AB8B7
square
#702AB8 #B82A2B #72B82A #2AB8B7
split-complementary
#702AB8 #B8B72A #2BB82A
monochromatic
#331354 #521F86 #702AB8 #8F4AD6 #AD7BE1

Accessibility & contrast

On white

7.74
#702AB8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#702AB8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #702AB8
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702AB8#FFFFFF#000000##FFFFFF
##702AB81.007.742.717.74
#FFFFFF7.741.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052BC
Deuteranopia (green-blind)
#0052B5
Tritanopia (blue-blind)
#605070
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #702ab8;
/* rgb */ color: rgb(112, 42, 184);
/* oklch */ color: oklch(46.6% 0.206 300.8);
Tailwind
colors: {
  custom: {
    50: '#a06bce',
    500: '#702ab8',
    950: '#000000',
  },
}
SCSS
$custom: #702ab8;
$custom-light: #a06bce;
$custom-dark: #000000;
JSON
{
  "hex": "#702ab8",
  "rgb": {
    "r": 112,
    "g": 42,
    "b": 184
  },
  "hsl": {
    "h": 269.577,
    "s": 62.832,
    "l": 44.314
  },
  "oklch": {
    "l": 0.46642,
    "c": 0.20647,
    "h": 300.8
  },
  "luminance": 0.08561
}

Semantic roles & 50–950 ramp

primary
#702AB8
secondary
#9FC975
accent
#E64295
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#0F0714
muted
#7F7A82

Preview Lab

Preview with #702AB8

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

Preview Lab → · Contrast checker → · Palette generator →

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