#702DCA#702DCA

#702DCA is a mid, highly saturated violet. Relative luminance 0.096; OKLCH L 48.5% C 0.222 H 296.3°. Best body text is #FFFFFF at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#702DCA
RGBrgb(112, 45, 202)
HSLhsl(266, 64%, 48%)
HSVhsv(266, 78%, 79%)
CMYKcmyk(44.6%, 77.7%, 0%, 20.8%)
CIE-LABlab(37.09, 59.78, -69.42)
CIE-LCHlch(37.09, 91.61, 310.73°)
OKLaboklab(48.49% 0.0984 -0.1989)
OKLCHoklch(48.49% 0.222 296.3)
XYZxyz(18.2783, 9.5854, 56.7528)
Luminance0.0959 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702DCA #87CA2D
analogous
#2D38CA #702DCA #BE2DCA
triadic
#702DCA #CA702D #2DCA70
tetradic
#702DCA #CA2D38 #87CA2D #2DCABE
square
#702DCA #CA2D38 #87CA2D #2DCABE
split-complementary
#702DCA #CABE2D #38CA2D
monochromatic
#381766 #542298 #702DCA #915ADA #B28CE5

Accessibility & contrast

On white

7.20
#702DCA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#702DCA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #702DCA
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702DCA#FFFFFF#000000##FFFFFF
##702DCA1.007.202.927.20
#FFFFFF7.201.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058CE
Deuteranopia (green-blind)
#0055C7
Tritanopia (blue-blind)
#57597B
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #702dca;
/* rgb */ color: rgb(112, 45, 202);
/* oklch */ color: oklch(48.5% 0.222 296.3);
Tailwind
colors: {
  custom: {
    50: '#a16edb',
    500: '#702dca',
    950: '#000000',
  },
}
SCSS
$custom: #702dca;
$custom-light: #a16edb;
$custom-dark: #000000;
JSON
{
  "hex": "#702dca",
  "rgb": {
    "r": 112,
    "g": 45,
    "b": 202
  },
  "hsl": {
    "h": 265.605,
    "s": 63.563,
    "l": 48.431
  },
  "oklch": {
    "l": 0.48487,
    "c": 0.22195,
    "h": 296.3
  },
  "luminance": 0.09586
}

Semantic roles & 50–950 ramp

primary
#702DCA
secondary
#AFCF83
accent
#E741A0
background
#FAF6FD
surface
#F4ECFB
border
#CEC7D4
text
#100815
muted
#7F7B83

Preview Lab

Preview with #702DCA

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

Preview Lab → · Contrast checker → · Palette generator →

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