#702FA8#702FA8

#702FA8 is a mid, vivid violet. Relative luminance 0.083; OKLCH L 45.9% C 0.184 H 304.6°. Best body text is #FFFFFF at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#702FA8
RGBrgb(112, 47, 168)
HSLhsl(272, 56%, 42%)
HSVhsv(272, 72%, 66%)
CMYKcmyk(33.3%, 72%, 0%, 34.1%)
CIE-LABlab(34.61, 50.63, -53.38)
CIE-LCHlch(34.61, 73.58, 313.49°)
OKLaboklab(45.88% 0.1046 -0.1518)
OKLCHoklch(45.88% 0.184 304.6)
XYZxyz(14.7649, 8.3050, 37.8634)
Luminance0.0830 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702FA8 #67A82F
analogous
#332FA8 #702FA8 #A82FA4
triadic
#702FA8 #A8702F #2FA870
tetradic
#702FA8 #A8332F #67A82F #2FA4A8
square
#702FA8 #A8332F #67A82F #2FA4A8
split-complementary
#702FA8 #A4A82F #2FA833
monochromatic
#301448 #502278 #702FA8 #8F48CC #AC78D9

Accessibility & contrast

On white

7.89
#702FA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#702FA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #702FA8
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702FA8#FFFFFF#000000##FFFFFF
##702FA81.007.892.667.89
#FFFFFF7.891.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050AC
Deuteranopia (green-blind)
#0051A5
Tritanopia (blue-blind)
#654C68
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #702fa8;
/* rgb */ color: rgb(112, 47, 168);
/* oklch */ color: oklch(45.9% 0.184 304.6);
Tailwind
colors: {
  custom: {
    50: '#9e6dc3',
    500: '#702fa8',
    950: '#000000',
  },
}
SCSS
$custom: #702fa8;
$custom-light: #9e6dc3;
$custom-dark: #000000;
JSON
{
  "hex": "#702fa8",
  "rgb": {
    "r": 112,
    "g": 47,
    "b": 168
  },
  "hsl": {
    "h": 272.231,
    "s": 56.279,
    "l": 42.157
  },
  "oklch": {
    "l": 0.45882,
    "c": 0.18437,
    "h": 304.6
  },
  "luminance": 0.08305
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #702FA8

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

Preview Lab → · Contrast checker → · Palette generator →

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