#702CAD#702CAD

#702CAD is a mid, vivid violet. Relative luminance 0.083; OKLCH L 45.9% C 0.193 H 303.5°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#702CAD
RGBrgb(112, 44, 173)
HSLhsl(272, 59%, 43%)
HSVhsv(272, 75%, 68%)
CMYKcmyk(35.3%, 74.6%, 0%, 32.2%)
CIE-LABlab(34.53, 53.16, -56.51)
CIE-LCHlch(34.53, 77.59, 313.25°)
OKLaboklab(45.94% 0.1066 -0.161)
OKLCHoklch(45.94% 0.193 303.5)
XYZxyz(15.1238, 8.2633, 40.3253)
Luminance0.0826 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702CAD #69AD2C
analogous
#302CAD #702CAD #AD2CA9
triadic
#702CAD #AD702C #2CAD70
tetradic
#702CAD #AD302C #69AD2C #2CA9AD
square
#702CAD #AD302C #69AD2C #2CA9AD
split-complementary
#702CAD #A9AD2C #2CAD30
monochromatic
#31134B #50207C #702CAD #8F46D0 #AC77DC

Accessibility & contrast

On white

7.92
#702CAD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #702CAD
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702CAD#FFFFFF#000000##FFFFFF
##702CAD1.007.922.657.92
#FFFFFF7.921.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B1
Deuteranopia (green-blind)
#0051AA
Tritanopia (blue-blind)
#644C6A
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #702cad;
/* rgb */ color: rgb(112, 44, 173);
/* oklch */ color: oklch(45.9% 0.193 303.5);
Tailwind
colors: {
  custom: {
    50: '#9f6cc6',
    500: '#702cad',
    950: '#000000',
  },
}
SCSS
$custom: #702cad;
$custom-light: #9f6cc6;
$custom-dark: #000000;
JSON
{
  "hex": "#702cad",
  "rgb": {
    "r": 112,
    "g": 44,
    "b": 173
  },
  "hsl": {
    "h": 271.628,
    "s": 59.447,
    "l": 42.549
  },
  "oklch": {
    "l": 0.45943,
    "c": 0.19309,
    "h": 303.5
  },
  "luminance": 0.08263
}

Semantic roles & 50–950 ramp

primary
#702CAD
secondary
#98C471
accent
#E34590
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #702CAD

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

Preview Lab → · Contrast checker → · Palette generator →

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