#702DB6#702DB6

#702DB6 is a mid, highly saturated violet. Relative luminance 0.087; OKLCH L 46.8% C 0.201 H 301.0°. Best body text is #FFFFFF at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#702DB6
RGBrgb(112, 45, 182)
HSLhsl(269, 60%, 45%)
HSVhsv(269, 75%, 71%)
CMYKcmyk(38.5%, 75.3%, 0%, 28.6%)
CIE-LABlab(35.40, 54.89, -60.45)
CIE-LCHlch(35.40, 81.65, 312.24°)
OKLaboklab(46.78% 0.1037 -0.1726)
OKLCHoklch(46.78% 0.201 301)
XYZxyz(16.0619, 8.6988, 45.0797)
Luminance0.0870 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702DB6 #73B62D
analogous
#2D2FB6 #702DB6 #B52DB6
triadic
#702DB6 #B6702D #2DB670
tetradic
#702DB6 #B62D2F #73B62D #2DB6B5
square
#702DB6 #B62D2F #73B62D #2DB6B5
split-complementary
#702DB6 #B6B52D #2FB62D
monochromatic
#341554 #522185 #702DB6 #8F4DD3 #AE7EDF

Accessibility & contrast

On white

7.66
#702DB6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#702DB6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #702DB6
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702DB6#FFFFFF#000000##FFFFFF
##702DB61.007.662.747.66
#FFFFFF7.661.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.661.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #702db6;
/* rgb */ color: rgb(112, 45, 182);
/* oklch */ color: oklch(46.8% 0.201 301.0);
Tailwind
colors: {
  custom: {
    50: '#9f6dcd',
    500: '#702db6',
    950: '#000000',
  },
}
SCSS
$custom: #702db6;
$custom-light: #9f6dcd;
$custom-dark: #000000;
JSON
{
  "hex": "#702db6",
  "rgb": {
    "r": 112,
    "g": 45,
    "b": 182
  },
  "hsl": {
    "h": 269.343,
    "s": 60.352,
    "l": 44.51
  },
  "oklch": {
    "l": 0.46782,
    "c": 0.20132,
    "h": 301
  },
  "luminance": 0.08699
}

Semantic roles & 50–950 ramp

primary
#702DB6
secondary
#A0C877
accent
#E34496
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#0F0714
muted
#7F7A82

Preview Lab

Preview with #702DB6

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

Preview Lab → · Contrast checker → · Palette generator →

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