#702FA4#702FA4

#702FA4 is a mid, vivid violet. Relative luminance 0.082; OKLCH L 45.6% C 0.180 H 305.8°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#702FA4
RGBrgb(112, 47, 164)
HSLhsl(273, 55%, 41%)
HSVhsv(273, 71%, 64%)
CMYKcmyk(31.7%, 71.3%, 0%, 35.7%)
CIE-LABlab(34.31, 49.68, -51.47)
CIE-LCHlch(34.31, 71.53, 313.99°)
OKLaboklab(45.57% 0.1053 -0.1462)
OKLCHoklch(45.57% 0.18 305.8)
XYZxyz(14.3980, 8.1582, 35.9310)
Luminance0.0816 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702FA4 #63A42F
analogous
#362FA4 #702FA4 #A42F9E
triadic
#702FA4 #A4702F #2FA470
tetradic
#702FA4 #A4362F #63A42F #2F9EA4
square
#702FA4 #A4362F #63A42F #2F9EA4
split-complementary
#702FA4 #9EA42F #2FA436
monochromatic
#2F1445 #502174 #702FA4 #8F46CA #AC76D8

Accessibility & contrast

On white

7.98
#702FA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#702FA4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #702FA4
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702FA4#FFFFFF#000000##FFFFFF
##702FA41.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA7
Deuteranopia (green-blind)
#0051A2
Tritanopia (blue-blind)
#674A66
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #702fa4;
/* rgb */ color: rgb(112, 47, 164);
/* oklch */ color: oklch(45.6% 0.180 305.8);
Tailwind
colors: {
  custom: {
    50: '#9e6dc0',
    500: '#702fa4',
    950: '#000000',
  },
}
SCSS
$custom: #702fa4;
$custom-light: #9e6dc0;
$custom-dark: #000000;
JSON
{
  "hex": "#702fa4",
  "rgb": {
    "r": 112,
    "g": 47,
    "b": 164
  },
  "hsl": {
    "h": 273.333,
    "s": 55.45,
    "l": 41.373
  },
  "oklch": {
    "l": 0.45574,
    "c": 0.18013,
    "h": 305.8
  },
  "luminance": 0.08158
}

Semantic roles & 50–950 ramp

primary
#702FA4
secondary
#93C06F
accent
#DF498C
background
#FAF6FB
surface
#F3ECF7
border
#CDC7D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #702FA4

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

Preview Lab → · Contrast checker → · Palette generator →

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