#702FA9#702FA9

#702FA9 is a mid, vivid violet. Relative luminance 0.083; OKLCH L 46.0% C 0.185 H 304.3°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#702FA9
RGBrgb(112, 47, 169)
HSLhsl(272, 56%, 42%)
HSVhsv(272, 72%, 66%)
CMYKcmyk(33.7%, 72.2%, 0%, 33.7%)
CIE-LABlab(34.69, 50.87, -53.86)
CIE-LCHlch(34.69, 74.09, 313.37°)
OKLaboklab(45.96% 0.1044 -0.1532)
OKLCHoklch(45.96% 0.185 304.3)
XYZxyz(14.8584, 8.3424, 38.3559)
Luminance0.0834 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702FA9 #68A92F
analogous
#332FA9 #702FA9 #A92FA5
triadic
#702FA9 #A9702F #2FA970
tetradic
#702FA9 #A9332F #68A92F #2FA5A9
square
#702FA9 #A9332F #68A92F #2FA5A9
split-complementary
#702FA9 #A5A92F #2FA933
monochromatic
#311449 #502279 #702FA9 #8F49CC #AC79DA

Accessibility & contrast

On white

7.87
#702FA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#702FA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #702FA9
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702FA9#FFFFFF#000000##FFFFFF
##702FA91.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050AD
Deuteranopia (green-blind)
#0051A6
Tritanopia (blue-blind)
#654C69
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #702fa9;
/* rgb */ color: rgb(112, 47, 169);
/* oklch */ color: oklch(46.0% 0.185 304.3);
Tailwind
colors: {
  custom: {
    50: '#9e6dc3',
    500: '#702fa9',
    950: '#000000',
  },
}
SCSS
$custom: #702fa9;
$custom-light: #9e6dc3;
$custom-dark: #000000;
JSON
{
  "hex": "#702fa9",
  "rgb": {
    "r": 112,
    "g": 47,
    "b": 169
  },
  "hsl": {
    "h": 271.967,
    "s": 56.481,
    "l": 42.353
  },
  "oklch": {
    "l": 0.45959,
    "c": 0.18542,
    "h": 304.3
  },
  "luminance": 0.08342
}

Semantic roles & 50–950 ramp

primary
#702FA9
secondary
#97C272
accent
#E0488F
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #702FA9

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

Preview Lab → · Contrast checker → · Palette generator →

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