#702CB1#702CB1

#702CB1 is a mid, vivid violet. Relative luminance 0.084; OKLCH L 46.3% C 0.197 H 302.4°. Best body text is #FFFFFF at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#702CB1
RGBrgb(112, 44, 177)
HSLhsl(271, 60%, 43%)
HSVhsv(271, 75%, 69%)
CMYKcmyk(36.7%, 75.1%, 0%, 30.6%)
CIE-LABlab(34.84, 54.12, -58.38)
CIE-LCHlch(34.84, 79.60, 312.83°)
OKLaboklab(46.27% 0.1057 -0.1665)
OKLCHoklch(46.27% 0.197 302.4)
XYZxyz(15.5167, 8.4204, 42.3943)
Luminance0.0842 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702CB1 #6DB12C
analogous
#2E2CB1 #702CB1 #B12CAF
triadic
#702CB1 #B1702C #2CB170
tetradic
#702CB1 #B12E2C #6DB12C #2CAFB1
square
#702CB1 #B12E2C #6DB12C #2CAFB1
split-complementary
#702CB1 #AFB12C #2CB12E
monochromatic
#32144F #512080 #702CB1 #8F49D2 #AD7ADE

Accessibility & contrast

On white

7.82
#702CB1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #702CB1
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702CB1#FFFFFF#000000##FFFFFF
##702CB11.007.822.687.82
#FFFFFF7.821.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B5
Deuteranopia (green-blind)
#0051AE
Tritanopia (blue-blind)
#624E6D
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #702cb1;
/* rgb */ color: rgb(112, 44, 177);
/* oklch */ color: oklch(46.3% 0.197 302.4);
Tailwind
colors: {
  custom: {
    50: '#9f6cc9',
    500: '#702cb1',
    950: '#000000',
  },
}
SCSS
$custom: #702cb1;
$custom-light: #9f6cc9;
$custom-dark: #000000;
JSON
{
  "hex": "#702cb1",
  "rgb": {
    "r": 112,
    "g": 44,
    "b": 177
  },
  "hsl": {
    "h": 270.677,
    "s": 60.181,
    "l": 43.333
  },
  "oklch": {
    "l": 0.46266,
    "c": 0.19722,
    "h": 302.4
  },
  "luminance": 0.0842
}

Semantic roles & 50–950 ramp

primary
#702CB1
secondary
#9BC673
accent
#E34492
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #702CB1

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

Preview Lab → · Contrast checker → · Palette generator →

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