#702CB6#702CB6

#702CB6 is a mid, highly saturated violet. Relative luminance 0.086; OKLCH L 46.7% C 0.202 H 301.1°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#702CB6
RGBrgb(112, 44, 182)
HSLhsl(270, 61%, 44%)
HSVhsv(270, 76%, 71%)
CMYKcmyk(38.5%, 75.8%, 0%, 28.6%)
CIE-LABlab(35.25, 55.32, -60.69)
CIE-LCHlch(35.25, 82.12, 312.35°)
OKLaboklab(46.68% 0.1046 -0.1733)
OKLCHoklch(46.68% 0.202 301.1)
XYZxyz(16.0242, 8.6234, 45.0672)
Luminance0.0862 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702CB6 #72B62C
analogous
#2C2DB6 #702CB6 #B52CB6
triadic
#702CB6 #B6702C #2CB670
tetradic
#702CB6 #B62C2D #72B62C #2CB6B5
square
#702CB6 #B62C2D #72B62C #2CB6B5
split-complementary
#702CB6 #B6B52C #2DB62C
monochromatic
#331453 #522085 #702CB6 #8F4CD4 #AD7DE0

Accessibility & contrast

On white

7.71
#702CB6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #702CB6
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702CB6#FFFFFF#000000##FFFFFF
##702CB61.007.712.727.71
#FFFFFF7.711.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052BA
Deuteranopia (green-blind)
#0052B3
Tritanopia (blue-blind)
#60506F
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #702cb6;
/* rgb */ color: rgb(112, 44, 182);
/* oklch */ color: oklch(46.7% 0.202 301.1);
Tailwind
colors: {
  custom: {
    50: '#9f6ccd',
    500: '#702cb6',
    950: '#000000',
  },
}
SCSS
$custom: #702cb6;
$custom-light: #9f6ccd;
$custom-dark: #000000;
JSON
{
  "hex": "#702cb6",
  "rgb": {
    "r": 112,
    "g": 44,
    "b": 182
  },
  "hsl": {
    "h": 269.565,
    "s": 61.062,
    "l": 44.314
  },
  "oklch": {
    "l": 0.46677,
    "c": 0.20237,
    "h": 301.1
  },
  "luminance": 0.08624
}

Semantic roles & 50–950 ramp

primary
#702CB6
secondary
#9FC876
accent
#E44495
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#0F0714
muted
#7F7A82

Preview Lab

Preview with #702CB6

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

Preview Lab → · Contrast checker → · Palette generator →

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