#702DA5#702DA5

#702DA5 is a mid, vivid violet. Relative luminance 0.080; OKLCH L 45.4% C 0.184 H 305.7°. Best body text is #FFFFFF at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#702DA5
RGBrgb(112, 45, 165)
HSLhsl(274, 57%, 41%)
HSVhsv(274, 73%, 65%)
CMYKcmyk(32.1%, 72.7%, 0%, 35.3%)
CIE-LABlab(34.06, 50.83, -52.47)
CIE-LCHlch(34.06, 73.05, 314.09°)
OKLaboklab(45.42% 0.1072 -0.1491)
OKLCHoklch(45.42% 0.184 305.7)
XYZxyz(14.4105, 8.0382, 36.3824)
Luminance0.0804 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702DA5 #62A52D
analogous
#342DA5 #702DA5 #A52D9E
triadic
#702DA5 #A5702D #2DA570
tetradic
#702DA5 #A5342D #62A52D #2D9EA5
square
#702DA5 #A5342D #62A52D #2D9EA5
split-complementary
#702DA5 #9EA52D #2DA534
monochromatic
#2F1345 #4F2075 #702DA5 #9043CC #AC73D9

Accessibility & contrast

On white

8.05
#702DA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#702DA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #702DA5
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702DA5#FFFFFF#000000##FFFFFF
##702DA51.008.052.618.05
#FFFFFF8.051.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA8
Deuteranopia (green-blind)
#0050A2
Tritanopia (blue-blind)
#664966
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #702da5;
/* rgb */ color: rgb(112, 45, 165);
/* oklch */ color: oklch(45.4% 0.184 305.7);
Tailwind
colors: {
  custom: {
    50: '#9e6cc0',
    500: '#702da5',
    950: '#000000',
  },
}
SCSS
$custom: #702da5;
$custom-light: #9e6cc0;
$custom-dark: #000000;
JSON
{
  "hex": "#702da5",
  "rgb": {
    "r": 112,
    "g": 45,
    "b": 165
  },
  "hsl": {
    "h": 273.5,
    "s": 57.143,
    "l": 41.176
  },
  "oklch": {
    "l": 0.45421,
    "c": 0.18363,
    "h": 305.7
  },
  "luminance": 0.08038
}

Semantic roles & 50–950 ramp

primary
#702DA5
secondary
#92C16D
accent
#E0478B
background
#FAF6FB
surface
#F4ECF7
border
#CEC7D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #702DA5

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

Preview Lab → · Contrast checker → · Palette generator →

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