#702FA6#702FA6

#702FA6 is a mid, vivid violet. Relative luminance 0.082; OKLCH L 45.7% C 0.182 H 305.2°. Best body text is #FFFFFF at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#702FA6
RGBrgb(112, 47, 166)
HSLhsl(273, 56%, 42%)
HSVhsv(273, 72%, 65%)
CMYKcmyk(32.5%, 71.7%, 0%, 34.9%)
CIE-LABlab(34.46, 50.16, -52.43)
CIE-LCHlch(34.46, 72.56, 313.73°)
OKLaboklab(45.73% 0.1049 -0.149)
OKLCHoklch(45.73% 0.182 305.2)
XYZxyz(14.5800, 8.2310, 36.8896)
Luminance0.0823 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702FA6 #65A62F
analogous
#342FA6 #702FA6 #A62FA1
triadic
#702FA6 #A6702F #2FA670
tetradic
#702FA6 #A6342F #65A62F #2FA1A6
square
#702FA6 #A6342F #65A62F #2FA1A6
split-complementary
#702FA6 #A1A62F #2FA634
monochromatic
#301447 #502176 #702FA6 #8F47CB #AC77D8

Accessibility & contrast

On white

7.94
#702FA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #702FA6
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702FA6#FFFFFF#000000##FFFFFF
##702FA61.007.942.657.94
#FFFFFF7.941.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA9
Deuteranopia (green-blind)
#0051A4
Tritanopia (blue-blind)
#664B67
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #702fa6;
/* rgb */ color: rgb(112, 47, 166);
/* oklch */ color: oklch(45.7% 0.182 305.2);
Tailwind
colors: {
  custom: {
    50: '#9e6dc1',
    500: '#702fa6',
    950: '#000000',
  },
}
SCSS
$custom: #702fa6;
$custom-light: #9e6dc1;
$custom-dark: #000000;
JSON
{
  "hex": "#702fa6",
  "rgb": {
    "r": 112,
    "g": 47,
    "b": 166
  },
  "hsl": {
    "h": 272.773,
    "s": 55.869,
    "l": 41.765
  },
  "oklch": {
    "l": 0.45727,
    "c": 0.18225,
    "h": 305.2
  },
  "luminance": 0.08231
}

Semantic roles & 50–950 ramp

primary
#702FA6
secondary
#95C170
accent
#DF498D
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #702FA6

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

Preview Lab → · Contrast checker → · Palette generator →

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