#702CA6#702CA6

#702CA6 is a mid, vivid violet. Relative luminance 0.080; OKLCH L 45.4% C 0.186 H 305.5°. Best body text is #FFFFFF at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#702CA6
RGBrgb(112, 44, 166)
HSLhsl(273, 58%, 41%)
HSVhsv(273, 73%, 65%)
CMYKcmyk(32.5%, 73.5%, 0%, 34.9%)
CIE-LABlab(33.98, 51.51, -53.20)
CIE-LCHlch(33.98, 74.05, 314.07°)
OKLaboklab(45.39% 0.108 -0.1513)
OKLCHoklch(45.39% 0.186 305.5)
XYZxyz(14.4642, 7.9994, 36.8510)
Luminance0.0800 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702CA6 #62A62C
analogous
#332CA6 #702CA6 #A62C9F
triadic
#702CA6 #A6702C #2CA670
tetradic
#702CA6 #A6332C #62A62C #2C9FA6
square
#702CA6 #A6332C #62A62C #2C9FA6
split-complementary
#702CA6 #9FA62C #2CA633
monochromatic
#2F1245 #4F1F76 #702CA6 #9042CD #AC73DA

Accessibility & contrast

On white

8.08
#702CA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#702CA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #702CA6
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702CA6#FFFFFF#000000##FFFFFF
##702CA61.008.082.608.08
#FFFFFF8.081.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA9
Deuteranopia (green-blind)
#0050A3
Tritanopia (blue-blind)
#664966
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #702ca6;
/* rgb */ color: rgb(112, 44, 166);
/* oklch */ color: oklch(45.4% 0.186 305.5);
Tailwind
colors: {
  custom: {
    50: '#9e6cc1',
    500: '#702ca6',
    950: '#000000',
  },
}
SCSS
$custom: #702ca6;
$custom-light: #9e6cc1;
$custom-dark: #000000;
JSON
{
  "hex": "#702ca6",
  "rgb": {
    "r": 112,
    "g": 44,
    "b": 166
  },
  "hsl": {
    "h": 273.443,
    "s": 58.095,
    "l": 41.176
  },
  "oklch": {
    "l": 0.45388,
    "c": 0.18586,
    "h": 305.5
  },
  "luminance": 0.07999
}

Semantic roles & 50–950 ramp

primary
#702CA6
secondary
#92C16D
accent
#E1468B
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #702CA6

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

Preview Lab → · Contrast checker → · Palette generator →

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