#702CA4#702CA4

#702CA4 is a mid, vivid violet. Relative luminance 0.079; OKLCH L 45.2% C 0.184 H 306.1°. Best body text is #FFFFFF at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#702CA4
RGBrgb(112, 44, 164)
HSLhsl(274, 58%, 41%)
HSVhsv(274, 73%, 64%)
CMYKcmyk(31.7%, 73.2%, 0%, 35.7%)
CIE-LABlab(33.83, 51.04, -52.25)
CIE-LCHlch(33.83, 73.04, 314.33°)
OKLaboklab(45.23% 0.1083 -0.1485)
OKLCHoklch(45.23% 0.184 306.1)
XYZxyz(14.2821, 7.9266, 35.8923)
Luminance0.0793 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702CA4 #60A42C
analogous
#342CA4 #702CA4 #A42C9C
triadic
#702CA4 #A4702C #2CA470
tetradic
#702CA4 #A4342C #60A42C #2C9CA4
square
#702CA4 #A4342C #60A42C #2C9CA4
split-complementary
#702CA4 #9CA42C #2CA434
monochromatic
#2E1243 #4F1F74 #702CA4 #9041CC #AC71D9

Accessibility & contrast

On white

8.12
#702CA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#702CA4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #702CA4
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702CA4#FFFFFF#000000##FFFFFF
##702CA41.008.122.598.12
#FFFFFF8.121.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.121.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #702ca4;
/* rgb */ color: rgb(112, 44, 164);
/* oklch */ color: oklch(45.2% 0.184 306.1);
Tailwind
colors: {
  custom: {
    50: '#9e6cc0',
    500: '#702ca4',
    950: '#000000',
  },
}
SCSS
$custom: #702ca4;
$custom-light: #9e6cc0;
$custom-dark: #000000;
JSON
{
  "hex": "#702ca4",
  "rgb": {
    "r": 112,
    "g": 44,
    "b": 164
  },
  "hsl": {
    "h": 274,
    "s": 57.692,
    "l": 40.784
  },
  "oklch": {
    "l": 0.45233,
    "c": 0.18379,
    "h": 306.1
  },
  "luminance": 0.07926
}

Semantic roles & 50–950 ramp

primary
#702CA4
secondary
#90C06B
accent
#E1478A
background
#FAF6FB
surface
#F4ECF7
border
#CEC7D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #702CA4

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

Preview Lab → · Contrast checker → · Palette generator →

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