#702DB0#702DB0

#702DB0 is a mid, vivid violet. Relative luminance 0.085; OKLCH L 46.3% C 0.195 H 302.6°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#702DB0
RGBrgb(112, 45, 176)
HSLhsl(271, 59%, 43%)
HSVhsv(271, 74%, 69%)
CMYKcmyk(36.4%, 74.4%, 0%, 31%)
CIE-LABlab(34.92, 53.44, -57.67)
CIE-LCHlch(34.92, 78.63, 312.82°)
OKLaboklab(46.29% 0.105 -0.1644)
OKLCHoklch(46.29% 0.195 302.6)
XYZxyz(15.4551, 8.4561, 41.8838)
Luminance0.0846 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702DB0 #6DB02D
analogous
#2E2DB0 #702DB0 #B02DAE
triadic
#702DB0 #B0702D #2DB070
tetradic
#702DB0 #B02E2D #6DB02D #2DAEB0
square
#702DB0 #B02E2D #6DB02D #2DAEB0
split-complementary
#702DB0 #AEB02D #2DB02E
monochromatic
#32144F #51217F #702DB0 #8F4AD1 #AD7ADD

Accessibility & contrast

On white

7.80
#702DB0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#702DB0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #702DB0
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702DB0#FFFFFF#000000##FFFFFF
##702DB01.007.802.697.80
#FFFFFF7.801.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B4
Deuteranopia (green-blind)
#0052AD
Tritanopia (blue-blind)
#634E6C
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #702db0;
/* rgb */ color: rgb(112, 45, 176);
/* oklch */ color: oklch(46.3% 0.195 302.6);
Tailwind
colors: {
  custom: {
    50: '#9f6dc8',
    500: '#702db0',
    950: '#000000',
  },
}
SCSS
$custom: #702db0;
$custom-light: #9f6dc8;
$custom-dark: #000000;
JSON
{
  "hex": "#702db0",
  "rgb": {
    "r": 112,
    "g": 45,
    "b": 176
  },
  "hsl": {
    "h": 270.687,
    "s": 59.276,
    "l": 43.333
  },
  "oklch": {
    "l": 0.46292,
    "c": 0.19508,
    "h": 302.6
  },
  "luminance": 0.08456
}

Semantic roles & 50–950 ramp

primary
#702DB0
secondary
#9BC573
accent
#E24592
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #702DB0

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

Preview Lab → · Contrast checker → · Palette generator →

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