#702EA9#702EA9

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

Color values

HEX#702EA9
RGBrgb(112, 46, 169)
HSLhsl(272, 57%, 42%)
HSVhsv(272, 73%, 66%)
CMYKcmyk(33.7%, 72.8%, 0%, 33.7%)
CIE-LABlab(34.53, 51.33, -54.12)
CIE-LCHlch(34.53, 74.59, 313.48°)
OKLaboklab(45.85% 0.1054 -0.154)
OKLCHoklch(45.85% 0.187 304.4)
XYZxyz(14.8189, 8.2634, 38.3427)
Luminance0.0826 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702EA9 #67A92E
analogous
#332EA9 #702EA9 #A92EA5
triadic
#702EA9 #A9702E #2EA970
tetradic
#702EA9 #A9332E #67A92E #2EA5A9
square
#702EA9 #A9332E #67A92E #2EA5A9
split-complementary
#702EA9 #A5A92E #2EA933
monochromatic
#301449 #502179 #702EA9 #8F47CD #AC77DA

Accessibility & contrast

On white

7.92
#702EA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #702EA9
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702EA9#FFFFFF#000000##FFFFFF
##702EA91.007.922.657.92
#FFFFFF7.921.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.921.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #702ea9;
/* rgb */ color: rgb(112, 46, 169);
/* oklch */ color: oklch(45.8% 0.187 304.4);
Tailwind
colors: {
  custom: {
    50: '#9e6dc3',
    500: '#702ea9',
    950: '#000000',
  },
}
SCSS
$custom: #702ea9;
$custom-light: #9e6dc3;
$custom-dark: #000000;
JSON
{
  "hex": "#702ea9",
  "rgb": {
    "r": 112,
    "g": 46,
    "b": 169
  },
  "hsl": {
    "h": 272.195,
    "s": 57.209,
    "l": 42.157
  },
  "oklch": {
    "l": 0.45845,
    "c": 0.18662,
    "h": 304.4
  },
  "luminance": 0.08263
}

Semantic roles & 50–950 ramp

primary
#702EA9
secondary
#96C271
accent
#E0478E
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #702EA9

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

Preview Lab → · Contrast checker → · Palette generator →

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