#702CA9#702CA9

#702CA9 is a mid, vivid violet. Relative luminance 0.081; OKLCH L 45.6% C 0.189 H 304.6°. Best body text is #FFFFFF at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#702CA9
RGBrgb(112, 44, 169)
HSLhsl(273, 59%, 42%)
HSVhsv(273, 74%, 66%)
CMYKcmyk(33.7%, 74%, 0%, 33.7%)
CIE-LABlab(34.21, 52.21, -54.63)
CIE-LCHlch(34.21, 75.57, 313.70°)
OKLaboklab(45.62% 0.1074 -0.1555)
OKLCHoklch(45.62% 0.189 304.6)
XYZxyz(14.7426, 8.1108, 38.3173)
Luminance0.0811 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702CA9 #65A92C
analogous
#322CA9 #702CA9 #A92CA4
triadic
#702CA9 #A9702C #2CA970
tetradic
#702CA9 #A9322C #65A92C #2CA4A9
square
#702CA9 #A9322C #65A92C #2CA4A9
split-complementary
#702CA9 #A4A92C #2CA932
monochromatic
#301348 #501F78 #702CA9 #8F44CE #AC74DB

Accessibility & contrast

On white

8.01
#702CA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#702CA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #702CA9
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702CA9#FFFFFF#000000##FFFFFF
##702CA91.008.012.628.01
#FFFFFF8.011.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.011.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #702ca9;
/* rgb */ color: rgb(112, 44, 169);
/* oklch */ color: oklch(45.6% 0.189 304.6);
Tailwind
colors: {
  custom: {
    50: '#9e6cc3',
    500: '#702ca9',
    950: '#000000',
  },
}
SCSS
$custom: #702ca9;
$custom-light: #9e6cc3;
$custom-dark: #000000;
JSON
{
  "hex": "#702ca9",
  "rgb": {
    "r": 112,
    "g": 44,
    "b": 169
  },
  "hsl": {
    "h": 272.64,
    "s": 58.685,
    "l": 41.765
  },
  "oklch": {
    "l": 0.45624,
    "c": 0.18895,
    "h": 304.6
  },
  "luminance": 0.08111
}

Semantic roles & 50–950 ramp

primary
#702CA9
secondary
#95C36E
accent
#E2468D
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #702CA9

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

Preview Lab → · Contrast checker → · Palette generator →

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