#702CB5#702CB5

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

Color values

HEX#702CB5
RGBrgb(112, 44, 181)
HSLhsl(270, 61%, 44%)
HSVhsv(270, 76%, 71%)
CMYKcmyk(38.1%, 75.7%, 0%, 29%)
CIE-LABlab(35.17, 55.08, -60.23)
CIE-LCHlch(35.17, 81.61, 312.44°)
OKLaboklab(46.6% 0.1048 -0.1719)
OKLCHoklch(46.6% 0.201 301.4)
XYZxyz(15.9212, 8.5822, 44.5248)
Luminance0.0858 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702CB5 #71B52C
analogous
#2C2DB5 #702CB5 #B52CB5
triadic
#702CB5 #B5702C #2CB570
tetradic
#702CB5 #B52C2D #71B52C #2CB5B5
square
#702CB5 #B52C2D #71B52C #2CB5B5
split-complementary
#702CB5 #B5B52C #2DB52C
monochromatic
#331453 #522084 #702CB5 #8F4BD3 #AD7CDF

Accessibility & contrast

On white

7.73
#702CB5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#702CB5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #702CB5
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702CB5#FFFFFF#000000##FFFFFF
##702CB51.007.732.727.73
#FFFFFF7.731.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B9
Deuteranopia (green-blind)
#0052B2
Tritanopia (blue-blind)
#614F6F
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #702cb5;
/* rgb */ color: rgb(112, 44, 181);
/* oklch */ color: oklch(46.6% 0.201 301.4);
Tailwind
colors: {
  custom: {
    50: '#9f6ccc',
    500: '#702cb5',
    950: '#000000',
  },
}
SCSS
$custom: #702cb5;
$custom-light: #9f6ccc;
$custom-dark: #000000;
JSON
{
  "hex": "#702cb5",
  "rgb": {
    "r": 112,
    "g": 44,
    "b": 181
  },
  "hsl": {
    "h": 269.781,
    "s": 60.889,
    "l": 44.118
  },
  "oklch": {
    "l": 0.46595,
    "c": 0.20134,
    "h": 301.4
  },
  "luminance": 0.08582
}

Semantic roles & 50–950 ramp

primary
#702CB5
secondary
#9FC875
accent
#E44494
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #702CB5

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

Preview Lab → · Contrast checker → · Palette generator →

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