#702DB8#702DB8

#702DB8 is a mid, highly saturated violet. Relative luminance 0.088; OKLCH L 46.9% C 0.203 H 300.5°. Best body text is #FFFFFF at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#702DB8
RGBrgb(112, 45, 184)
HSLhsl(269, 61%, 45%)
HSVhsv(269, 76%, 72%)
CMYKcmyk(39.1%, 75.5%, 0%, 27.8%)
CIE-LABlab(35.56, 55.37, -61.36)
CIE-LCHlch(35.56, 82.65, 312.06°)
OKLaboklab(46.95% 0.1032 -0.1753)
OKLCHoklch(46.95% 0.203 300.5)
XYZxyz(16.2701, 8.7821, 46.1760)
Luminance0.0878 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702DB8 #75B82D
analogous
#2D2FB8 #702DB8 #B62DB8
triadic
#702DB8 #B8702D #2DB870
tetradic
#702DB8 #B82D2F #75B82D #2DB8B6
square
#702DB8 #B82D2F #75B82D #2DB8B6
split-complementary
#702DB8 #B8B62D #2FB82D
monochromatic
#341556 #522187 #702DB8 #8F4ED4 #AE80E0

Accessibility & contrast

On white

7.62
#702DB8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#702DB8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #702DB8
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702DB8#FFFFFF#000000##FFFFFF
##702DB81.007.622.767.62
#FFFFFF7.621.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053BC
Deuteranopia (green-blind)
#0053B5
Tritanopia (blue-blind)
#605171
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #702db8;
/* rgb */ color: rgb(112, 45, 184);
/* oklch */ color: oklch(46.9% 0.203 300.5);
Tailwind
colors: {
  custom: {
    50: '#a06dce',
    500: '#702db8',
    950: '#000000',
  },
}
SCSS
$custom: #702db8;
$custom-light: #a06dce;
$custom-dark: #000000;
JSON
{
  "hex": "#702db8",
  "rgb": {
    "r": 112,
    "g": 45,
    "b": 184
  },
  "hsl": {
    "h": 268.921,
    "s": 60.699,
    "l": 44.902
  },
  "oklch": {
    "l": 0.46948,
    "c": 0.20338,
    "h": 300.5
  },
  "luminance": 0.08782
}

Semantic roles & 50–950 ramp

primary
#702DB8
secondary
#A2C978
accent
#E44497
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#0F0714
muted
#7F7A82

Preview Lab

Preview with #702DB8

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

Preview Lab → · Contrast checker → · Palette generator →

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