#702CA5#702CA5

#702CA5 is a mid, vivid violet. Relative luminance 0.080; OKLCH L 45.3% C 0.185 H 305.8°. Best body text is #FFFFFF at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#702CA5
RGBrgb(112, 44, 165)
HSLhsl(274, 58%, 41%)
HSVhsv(274, 73%, 65%)
CMYKcmyk(32.1%, 73.3%, 0%, 35.3%)
CIE-LABlab(33.91, 51.27, -52.72)
CIE-LCHlch(33.91, 73.54, 314.20°)
OKLaboklab(45.31% 0.1082 -0.1499)
OKLCHoklch(45.31% 0.185 305.8)
XYZxyz(14.3728, 7.9628, 36.3698)
Luminance0.0796 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702CA5 #61A52C
analogous
#332CA5 #702CA5 #A52C9D
triadic
#702CA5 #A5702C #2CA570
tetradic
#702CA5 #A5332C #61A52C #2C9DA5
square
#702CA5 #A5332C #61A52C #2C9DA5
split-complementary
#702CA5 #9DA52C #2CA533
monochromatic
#2E1244 #4F1F75 #702CA5 #9042CD #AC72D9

Accessibility & contrast

On white

8.10
#702CA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#702CA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #702CA5
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702CA5#FFFFFF#000000##FFFFFF
##702CA51.008.102.598.10
#FFFFFF8.101.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.101.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #702ca5;
/* rgb */ color: rgb(112, 44, 165);
/* oklch */ color: oklch(45.3% 0.185 305.8);
Tailwind
colors: {
  custom: {
    50: '#9e6cc0',
    500: '#702ca5',
    950: '#000000',
  },
}
SCSS
$custom: #702ca5;
$custom-light: #9e6cc0;
$custom-dark: #000000;
JSON
{
  "hex": "#702ca5",
  "rgb": {
    "r": 112,
    "g": 44,
    "b": 165
  },
  "hsl": {
    "h": 273.719,
    "s": 57.895,
    "l": 40.98
  },
  "oklch": {
    "l": 0.4531,
    "c": 0.18482,
    "h": 305.8
  },
  "luminance": 0.07963
}

Semantic roles & 50–950 ramp

primary
#702CA5
secondary
#91C16C
accent
#E1478A
background
#FAF6FB
surface
#F4ECF7
border
#CEC7D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #702CA5

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

Preview Lab → · Contrast checker → · Palette generator →

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