#702AB5#702AB5

#702AB5 is a mid, highly saturated violet. Relative luminance 0.084; OKLCH L 46.4% C 0.203 H 301.6°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#702AB5
RGBrgb(112, 42, 181)
HSLhsl(270, 62%, 44%)
HSVhsv(270, 77%, 71%)
CMYKcmyk(38.1%, 76.8%, 0%, 29%)
CIE-LABlab(34.88, 55.91, -60.70)
CIE-LCHlch(34.88, 82.53, 312.64°)
OKLaboklab(46.39% 0.1065 -0.1733)
OKLCHoklch(46.39% 0.203 301.6)
XYZxyz(15.8485, 8.4368, 44.5006)
Luminance0.0844 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702AB5 #6FB52A
analogous
#2A2AB5 #702AB5 #B52AB4
triadic
#702AB5 #B5702A #2AB570
tetradic
#702AB5 #B52A2A #6FB52A #2AB4B5
square
#702AB5 #B52A2A #6FB52A #2AB4B5
split-complementary
#702AB5 #B4B52A #2AB52A
monochromatic
#331352 #511E83 #702AB5 #8F48D4 #AD79E0

Accessibility & contrast

On white

7.81
#702AB5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#702AB5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #702AB5
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702AB5#FFFFFF#000000##FFFFFF
##702AB51.007.812.697.81
#FFFFFF7.811.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B9
Deuteranopia (green-blind)
#0051B2
Tritanopia (blue-blind)
#614E6E
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #702ab5;
/* rgb */ color: rgb(112, 42, 181);
/* oklch */ color: oklch(46.4% 0.203 301.6);
Tailwind
colors: {
  custom: {
    50: '#9f6bcc',
    500: '#702ab5',
    950: '#000000',
  },
}
SCSS
$custom: #702ab5;
$custom-light: #9f6bcc;
$custom-dark: #000000;
JSON
{
  "hex": "#702ab5",
  "rgb": {
    "r": 112,
    "g": 42,
    "b": 181
  },
  "hsl": {
    "h": 270.216,
    "s": 62.332,
    "l": 43.725
  },
  "oklch": {
    "l": 0.46391,
    "c": 0.20342,
    "h": 301.6
  },
  "luminance": 0.08437
}

Semantic roles & 50–950 ramp

primary
#702AB5
secondary
#9DC873
accent
#E54293
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #702AB5

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

Preview Lab → · Contrast checker → · Palette generator →

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