#702FA7#702FA7

#702FA7 is a mid, vivid violet. Relative luminance 0.083; OKLCH L 45.8% C 0.183 H 304.9°. Best body text is #FFFFFF at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#702FA7
RGBrgb(112, 47, 167)
HSLhsl(273, 56%, 42%)
HSVhsv(273, 72%, 65%)
CMYKcmyk(32.9%, 71.9%, 0%, 34.5%)
CIE-LABlab(34.53, 50.40, -52.91)
CIE-LCHlch(34.53, 73.07, 313.61°)
OKLaboklab(45.8% 0.1048 -0.1504)
OKLCHoklch(45.8% 0.183 304.9)
XYZxyz(14.6721, 8.2679, 37.3746)
Luminance0.0827 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702FA7 #66A72F
analogous
#342FA7 #702FA7 #A72FA2
triadic
#702FA7 #A7702F #2FA770
tetradic
#702FA7 #A7342F #66A72F #2FA2A7
square
#702FA7 #A7342F #66A72F #2FA2A7
split-complementary
#702FA7 #A2A72F #2FA734
monochromatic
#301447 #502277 #702FA7 #8F48CB #AC78D9

Accessibility & contrast

On white

7.91
#702FA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#702FA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #702FA7
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702FA7#FFFFFF#000000##FFFFFF
##702FA71.007.912.657.91
#FFFFFF7.911.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050AA
Deuteranopia (green-blind)
#0051A4
Tritanopia (blue-blind)
#664B68
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #702fa7;
/* rgb */ color: rgb(112, 47, 167);
/* oklch */ color: oklch(45.8% 0.183 304.9);
Tailwind
colors: {
  custom: {
    50: '#9e6dc2',
    500: '#702fa7',
    950: '#000000',
  },
}
SCSS
$custom: #702fa7;
$custom-light: #9e6dc2;
$custom-dark: #000000;
JSON
{
  "hex": "#702fa7",
  "rgb": {
    "r": 112,
    "g": 47,
    "b": 167
  },
  "hsl": {
    "h": 272.5,
    "s": 56.075,
    "l": 41.961
  },
  "oklch": {
    "l": 0.45804,
    "c": 0.18331,
    "h": 304.9
  },
  "luminance": 0.08268
}

Semantic roles & 50–950 ramp

primary
#702FA7
secondary
#96C171
accent
#DF488E
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #702FA7

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

Preview Lab → · Contrast checker → · Palette generator →

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