#702DB7#702DB7

#702DB7 is a mid, highly saturated violet. Relative luminance 0.087; OKLCH L 46.9% C 0.202 H 300.7°. Best body text is #FFFFFF at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#702DB7
RGBrgb(112, 45, 183)
HSLhsl(269, 61%, 45%)
HSVhsv(269, 75%, 72%)
CMYKcmyk(38.8%, 75.4%, 0%, 28.2%)
CIE-LABlab(35.48, 55.13, -60.91)
CIE-LCHlch(35.48, 82.15, 312.15°)
OKLaboklab(46.87% 0.1034 -0.1739)
OKLCHoklch(46.87% 0.202 300.7)
XYZxyz(16.1656, 8.7403, 45.6259)
Luminance0.0874 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702DB7 #74B72D
analogous
#2D2FB7 #702DB7 #B52DB7
triadic
#702DB7 #B7702D #2DB770
tetradic
#702DB7 #B72D2F #74B72D #2DB7B5
square
#702DB7 #B72D2F #74B72D #2DB7B5
split-complementary
#702DB7 #B7B52D #2FB72D
monochromatic
#341555 #522186 #702DB7 #8F4ED3 #AE7FDF

Accessibility & contrast

On white

7.64
#702DB7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#702DB7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #702DB7
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702DB7#FFFFFF#000000##FFFFFF
##702DB71.007.642.757.64
#FFFFFF7.641.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053BB
Deuteranopia (green-blind)
#0053B4
Tritanopia (blue-blind)
#605170
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #702db7;
/* rgb */ color: rgb(112, 45, 183);
/* oklch */ color: oklch(46.9% 0.202 300.7);
Tailwind
colors: {
  custom: {
    50: '#9f6dce',
    500: '#702db7',
    950: '#000000',
  },
}
SCSS
$custom: #702db7;
$custom-light: #9f6dce;
$custom-dark: #000000;
JSON
{
  "hex": "#702db7",
  "rgb": {
    "r": 112,
    "g": 45,
    "b": 183
  },
  "hsl": {
    "h": 269.13,
    "s": 60.526,
    "l": 44.706
  },
  "oklch": {
    "l": 0.46865,
    "c": 0.20234,
    "h": 300.7
  },
  "luminance": 0.0874
}

Semantic roles & 50–950 ramp

primary
#702DB7
secondary
#A1C878
accent
#E44496
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#0F0714
muted
#7F7A82

Preview Lab

Preview with #702DB7

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

Preview Lab → · Contrast checker → · Palette generator →

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