#702EA1#702EA1

#702EA1 is a mid, vivid violet. Relative luminance 0.080; OKLCH L 45.2% C 0.178 H 306.8°. Best body text is #FFFFFF at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#702EA1
RGBrgb(112, 46, 161)
HSLhsl(274, 56%, 41%)
HSVhsv(274, 71%, 63%)
CMYKcmyk(30.4%, 71.4%, 0%, 36.9%)
CIE-LABlab(33.92, 49.43, -50.28)
CIE-LCHlch(33.92, 70.51, 314.51°)
OKLaboklab(45.23% 0.1068 -0.1427)
OKLCHoklch(45.23% 0.178 306.8)
XYZxyz(14.0907, 7.9721, 34.5078)
Luminance0.0797 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702EA1 #5FA12E
analogous
#362EA1 #702EA1 #A12E98
triadic
#702EA1 #A1702E #2EA170
tetradic
#702EA1 #A1362E #5FA12E #2E98A1
square
#702EA1 #A1362E #5FA12E #2E98A1
split-complementary
#702EA1 #98A12E #2EA136
monochromatic
#2E1342 #4F2071 #702EA1 #9043C9 #AC73D7

Accessibility & contrast

On white

8.09
#702EA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #702EA1
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702EA1#FFFFFF#000000##FFFFFF
##702EA11.008.092.598.09
#FFFFFF8.091.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA4
Deuteranopia (green-blind)
#06509F
Tritanopia (blue-blind)
#684864
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #702ea1;
/* rgb */ color: rgb(112, 46, 161);
/* oklch */ color: oklch(45.2% 0.178 306.8);
Tailwind
colors: {
  custom: {
    50: '#9d6cbe',
    500: '#702ea1',
    950: '#000000',
  },
}
SCSS
$custom: #702ea1;
$custom-light: #9d6cbe;
$custom-dark: #000000;
JSON
{
  "hex": "#702ea1",
  "rgb": {
    "r": 112,
    "g": 46,
    "b": 161
  },
  "hsl": {
    "h": 274.435,
    "s": 55.556,
    "l": 40.588
  },
  "oklch": {
    "l": 0.4523,
    "c": 0.17822,
    "h": 306.8
  },
  "luminance": 0.07972
}

Semantic roles & 50–950 ramp

primary
#702EA1
secondary
#8FBE6C
accent
#DF4989
background
#FAF6FB
surface
#F3ECF7
border
#CDC7D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #702EA1

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

Preview Lab → · Contrast checker → · Palette generator →

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