#702CB2#702CB2

#702CB2 is a mid, vivid violet. Relative luminance 0.085; OKLCH L 46.3% C 0.198 H 302.1°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#702CB2
RGBrgb(112, 44, 178)
HSLhsl(270, 60%, 44%)
HSVhsv(270, 75%, 70%)
CMYKcmyk(37.1%, 75.3%, 0%, 30.2%)
CIE-LABlab(34.92, 54.36, -58.85)
CIE-LCHlch(34.92, 80.11, 312.73°)
OKLaboklab(46.35% 0.1055 -0.1678)
OKLCHoklch(46.35% 0.198 302.1)
XYZxyz(15.6167, 8.4604, 42.9211)
Luminance0.0846 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702CB2 #6EB22C
analogous
#2D2CB2 #702CB2 #B22CB1
triadic
#702CB2 #B2702C #2CB270
tetradic
#702CB2 #B22D2C #6EB22C #2CB1B2
square
#702CB2 #B22D2C #6EB22C #2CB1B2
split-complementary
#702CB2 #B1B22C #2CB22D
monochromatic
#321450 #512081 #702CB2 #8F49D2 #AD7ADE

Accessibility & contrast

On white

7.80
#702CB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#702CB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #702CB2
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702CB2#FFFFFF#000000##FFFFFF
##702CB21.007.802.697.80
#FFFFFF7.801.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B6
Deuteranopia (green-blind)
#0052AF
Tritanopia (blue-blind)
#624E6D
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #702cb2;
/* rgb */ color: rgb(112, 44, 178);
/* oklch */ color: oklch(46.3% 0.198 302.1);
Tailwind
colors: {
  custom: {
    50: '#9f6cca',
    500: '#702cb2',
    950: '#000000',
  },
}
SCSS
$custom: #702cb2;
$custom-light: #9f6cca;
$custom-dark: #000000;
JSON
{
  "hex": "#702cb2",
  "rgb": {
    "r": 112,
    "g": 44,
    "b": 178
  },
  "hsl": {
    "h": 270.448,
    "s": 60.36,
    "l": 43.529
  },
  "oklch": {
    "l": 0.46348,
    "c": 0.19825,
    "h": 302.1
  },
  "luminance": 0.0846
}

Semantic roles & 50–950 ramp

primary
#702CB2
secondary
#9CC673
accent
#E44493
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #702CB2

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

Preview Lab → · Contrast checker → · Palette generator →

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