#702DCE#702DCE

#702DCE is a mid, highly saturated violet. Relative luminance 0.098; OKLCH L 48.8% C 0.226 H 295.5°. Best body text is #FFFFFF at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#702DCE
RGBrgb(112, 45, 206)
HSLhsl(265, 64%, 49%)
HSVhsv(265, 78%, 81%)
CMYKcmyk(45.6%, 78.2%, 0%, 19.2%)
CIE-LABlab(37.44, 60.76, -71.17)
CIE-LCHlch(37.44, 93.58, 310.49°)
OKLaboklab(48.84% 0.0973 -0.204)
OKLCHoklch(48.84% 0.226 295.5)
XYZxyz(18.7580, 9.7773, 59.2794)
Luminance0.0978 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702DCE #8BCE2D
analogous
#2D3BCE #702DCE #C12DCE
triadic
#702DCE #CE702D #2DCE70
tetradic
#702DCE #CE2D3B #8BCE2D #2DCEC1
square
#702DCE #CE2D3B #8BCE2D #2DCEC1
split-complementary
#702DCE #CEC12D #3BCE2D
monochromatic
#39176A #55229C #702DCE #915DDC #B38FE7

Accessibility & contrast

On white

7.11
#702DCE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#702DCE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #702DCE
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702DCE#FFFFFF#000000##FFFFFF
##702DCE1.007.112.967.11
#FFFFFF7.111.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059D2
Deuteranopia (green-blind)
#0056CB
Tritanopia (blue-blind)
#555A7D
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #702dce;
/* rgb */ color: rgb(112, 45, 206);
/* oklch */ color: oklch(48.8% 0.226 295.5);
Tailwind
colors: {
  custom: {
    50: '#a26ede',
    500: '#702dce',
    950: '#000000',
  },
}
SCSS
$custom: #702dce;
$custom-light: #a26ede;
$custom-dark: #000000;
JSON
{
  "hex": "#702dce",
  "rgb": {
    "r": 112,
    "g": 45,
    "b": 206
  },
  "hsl": {
    "h": 264.969,
    "s": 64.143,
    "l": 49.216
  },
  "oklch": {
    "l": 0.48839,
    "c": 0.22605,
    "h": 295.5
  },
  "luminance": 0.09778
}

Semantic roles & 50–950 ramp

primary
#702DCE
secondary
#B2D186
accent
#E741A2
background
#FAF6FD
surface
#F4ECFB
border
#CEC7D4
text
#100815
muted
#7F7B83

Preview Lab

Preview with #702DCE

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

Preview Lab → · Contrast checker → · Palette generator →

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