#702CB0#702CB0

#702CB0 is a mid, vivid violet. Relative luminance 0.084; OKLCH L 46.2% C 0.196 H 302.7°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#702CB0
RGBrgb(112, 44, 176)
HSLhsl(271, 60%, 43%)
HSVhsv(271, 75%, 69%)
CMYKcmyk(36.4%, 75%, 0%, 31%)
CIE-LABlab(34.76, 53.88, -57.92)
CIE-LCHlch(34.76, 79.10, 312.93°)
OKLaboklab(46.18% 0.1059 -0.1651)
OKLCHoklch(46.18% 0.196 302.7)
XYZxyz(15.4174, 8.3807, 41.8713)
Luminance0.0838 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702CB0 #6CB02C
analogous
#2E2CB0 #702CB0 #B02CAE
triadic
#702CB0 #B0702C #2CB070
tetradic
#702CB0 #B02E2C #6CB02C #2CAEB0
square
#702CB0 #B02E2C #6CB02C #2CAEB0
split-complementary
#702CB0 #AEB02C #2CB02E
monochromatic
#32144E #51207F #702CB0 #8F48D1 #AD79DD

Accessibility & contrast

On white

7.85
#702CB0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#702CB0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #702CB0
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702CB0#FFFFFF#000000##FFFFFF
##702CB01.007.852.687.85
#FFFFFF7.851.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B4
Deuteranopia (green-blind)
#0051AD
Tritanopia (blue-blind)
#634D6C
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #702cb0;
/* rgb */ color: rgb(112, 44, 176);
/* oklch */ color: oklch(46.2% 0.196 302.7);
Tailwind
colors: {
  custom: {
    50: '#9f6cc9',
    500: '#702cb0',
    950: '#000000',
  },
}
SCSS
$custom: #702cb0;
$custom-light: #9f6cc9;
$custom-dark: #000000;
JSON
{
  "hex": "#702cb0",
  "rgb": {
    "r": 112,
    "g": 44,
    "b": 176
  },
  "hsl": {
    "h": 270.909,
    "s": 60,
    "l": 43.137
  },
  "oklch": {
    "l": 0.46185,
    "c": 0.19619,
    "h": 302.7
  },
  "luminance": 0.08381
}

Semantic roles & 50–950 ramp

primary
#702CB0
secondary
#9BC672
accent
#E34591
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #702CB0

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

Preview Lab → · Contrast checker → · Palette generator →

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