#702CA8#702CA8

#702CA8 is a mid, vivid violet. Relative luminance 0.081; OKLCH L 45.5% C 0.188 H 304.9°. Best body text is #FFFFFF at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#702CA8
RGBrgb(112, 44, 168)
HSLhsl(273, 58%, 42%)
HSVhsv(273, 74%, 66%)
CMYKcmyk(33.3%, 73.8%, 0%, 34.1%)
CIE-LABlab(34.14, 51.98, -54.15)
CIE-LCHlch(34.14, 75.06, 313.83°)
OKLaboklab(45.55% 0.1076 -0.1541)
OKLCHoklch(45.55% 0.188 304.9)
XYZxyz(14.6491, 8.0733, 37.8248)
Luminance0.0807 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702CA8 #64A82C
analogous
#322CA8 #702CA8 #A82CA2
triadic
#702CA8 #A8702C #2CA870
tetradic
#702CA8 #A8322C #64A82C #2CA2A8
square
#702CA8 #A8322C #64A82C #2CA2A8
split-complementary
#702CA8 #A2A82C #2CA832
monochromatic
#2F1347 #501F78 #702CA8 #8F43CE #AC74DB

Accessibility & contrast

On white

8.03
#702CA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#702CA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #702CA8
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702CA8#FFFFFF#000000##FFFFFF
##702CA81.008.032.618.03
#FFFFFF8.031.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FAC
Deuteranopia (green-blind)
#0050A5
Tritanopia (blue-blind)
#654A68
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #702ca8;
/* rgb */ color: rgb(112, 44, 168);
/* oklch */ color: oklch(45.5% 0.188 304.9);
Tailwind
colors: {
  custom: {
    50: '#9e6cc3',
    500: '#702ca8',
    950: '#000000',
  },
}
SCSS
$custom: #702ca8;
$custom-light: #9e6cc3;
$custom-dark: #000000;
JSON
{
  "hex": "#702ca8",
  "rgb": {
    "r": 112,
    "g": 44,
    "b": 168
  },
  "hsl": {
    "h": 272.903,
    "s": 58.491,
    "l": 41.569
  },
  "oklch": {
    "l": 0.45545,
    "c": 0.18792,
    "h": 304.9
  },
  "luminance": 0.08073
}

Semantic roles & 50–950 ramp

primary
#702CA8
secondary
#94C26E
accent
#E2468C
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #702CA8

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

Preview Lab → · Contrast checker → · Palette generator →

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