#702CA3#702CA3

#702CA3 is a mid, vivid violet. Relative luminance 0.079; OKLCH L 45.2% C 0.183 H 306.4°. Best body text is #FFFFFF at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#702CA3
RGBrgb(112, 44, 163)
HSLhsl(274, 57%, 41%)
HSVhsv(274, 73%, 64%)
CMYKcmyk(31.3%, 73%, 0%, 36.1%)
CIE-LABlab(33.75, 50.80, -51.77)
CIE-LCHlch(33.75, 72.53, 314.46°)
OKLaboklab(45.16% 0.1085 -0.147)
OKLCHoklch(45.16% 0.183 306.4)
XYZxyz(14.1922, 7.8906, 35.4186)
Luminance0.0789 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702CA3 #5FA32C
analogous
#352CA3 #702CA3 #A32C9A
triadic
#702CA3 #A3702C #2CA370
tetradic
#702CA3 #A3352C #5FA32C #2C9AA3
square
#702CA3 #A3352C #5FA32C #2C9AA3
split-complementary
#702CA3 #9AA32C #2CA335
monochromatic
#2E1243 #4F1F73 #702CA3 #9041CC #AC71D9

Accessibility & contrast

On white

8.15
#702CA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#702CA3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #702CA3
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702CA3#FFFFFF#000000##FFFFFF
##702CA31.008.152.588.15
#FFFFFF8.151.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA6
Deuteranopia (green-blind)
#0050A1
Tritanopia (blue-blind)
#674865
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #702ca3;
/* rgb */ color: rgb(112, 44, 163);
/* oklch */ color: oklch(45.2% 0.183 306.4);
Tailwind
colors: {
  custom: {
    50: '#9e6cbf',
    500: '#702ca3',
    950: '#000000',
  },
}
SCSS
$custom: #702ca3;
$custom-light: #9e6cbf;
$custom-dark: #000000;
JSON
{
  "hex": "#702ca3",
  "rgb": {
    "r": 112,
    "g": 44,
    "b": 163
  },
  "hsl": {
    "h": 274.286,
    "s": 57.488,
    "l": 40.588
  },
  "oklch": {
    "l": 0.45155,
    "c": 0.18275,
    "h": 306.4
  },
  "luminance": 0.0789
}

Semantic roles & 50–950 ramp

primary
#702CA3
secondary
#8FC06B
accent
#E14789
background
#FAF6FB
surface
#F4ECF7
border
#CEC7D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #702CA3

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

Preview Lab → · Contrast checker → · Palette generator →

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