#702DA6#702DA6

#702DA6 is a mid, vivid violet. Relative luminance 0.081; OKLCH L 45.5% C 0.185 H 305.4°. Best body text is #FFFFFF at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#702DA6
RGBrgb(112, 45, 166)
HSLhsl(273, 57%, 41%)
HSVhsv(273, 73%, 65%)
CMYKcmyk(32.5%, 72.9%, 0%, 34.9%)
CIE-LABlab(34.14, 51.06, -52.95)
CIE-LCHlch(34.14, 73.56, 313.96°)
OKLaboklab(45.5% 0.107 -0.1505)
OKLCHoklch(45.5% 0.185 305.4)
XYZxyz(14.5019, 8.0748, 36.8636)
Luminance0.0808 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702DA6 #63A62D
analogous
#342DA6 #702DA6 #A62DA0
triadic
#702DA6 #A6702D #2DA670
tetradic
#702DA6 #A6342D #63A62D #2DA0A6
square
#702DA6 #A6342D #63A62D #2DA0A6
split-complementary
#702DA6 #A0A62D #2DA634
monochromatic
#2F1346 #502076 #702DA6 #8F44CC #AC74D9

Accessibility & contrast

On white

8.03
#702DA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#702DA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #702DA6
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702DA6#FFFFFF#000000##FFFFFF
##702DA61.008.032.628.03
#FFFFFF8.031.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA9
Deuteranopia (green-blind)
#0050A3
Tritanopia (blue-blind)
#664A67
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #702da6;
/* rgb */ color: rgb(112, 45, 166);
/* oklch */ color: oklch(45.5% 0.185 305.4);
Tailwind
colors: {
  custom: {
    50: '#9e6cc1',
    500: '#702da6',
    950: '#000000',
  },
}
SCSS
$custom: #702da6;
$custom-light: #9e6cc1;
$custom-dark: #000000;
JSON
{
  "hex": "#702da6",
  "rgb": {
    "r": 112,
    "g": 45,
    "b": 166
  },
  "hsl": {
    "h": 273.223,
    "s": 57.346,
    "l": 41.373
  },
  "oklch": {
    "l": 0.45499,
    "c": 0.18467,
    "h": 305.4
  },
  "luminance": 0.08075
}

Semantic roles & 50–950 ramp

primary
#702DA6
secondary
#93C16E
accent
#E1478C
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #702DA6

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

Preview Lab → · Contrast checker → · Palette generator →

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