#702CB7#702CB7

#702CB7 is a mid, highly saturated violet. Relative luminance 0.087; OKLCH L 46.8% C 0.203 H 300.9°. Best body text is #FFFFFF at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#702CB7
RGBrgb(112, 44, 183)
HSLhsl(269, 61%, 45%)
HSVhsv(269, 76%, 72%)
CMYKcmyk(38.8%, 76%, 0%, 28.2%)
CIE-LABlab(35.33, 55.56, -61.15)
CIE-LCHlch(35.33, 82.62, 312.26°)
OKLaboklab(46.76% 0.1043 -0.1746)
OKLCHoklch(46.76% 0.203 300.9)
XYZxyz(16.1279, 8.6649, 45.6134)
Luminance0.0867 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702CB7 #73B72C
analogous
#2C2DB7 #702CB7 #B62CB7
triadic
#702CB7 #B7702C #2CB770
tetradic
#702CB7 #B72C2D #73B72C #2CB7B6
square
#702CB7 #B72C2D #73B72C #2CB7B6
split-complementary
#702CB7 #B7B62C #2DB72C
monochromatic
#341454 #522086 #702CB7 #8F4CD4 #AE7EE0

Accessibility & contrast

On white

7.68
#702CB7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#702CB7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #702CB7
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702CB7#FFFFFF#000000##FFFFFF
##702CB71.007.682.737.68
#FFFFFF7.681.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052BB
Deuteranopia (green-blind)
#0052B4
Tritanopia (blue-blind)
#605070
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #702cb7;
/* rgb */ color: rgb(112, 44, 183);
/* oklch */ color: oklch(46.8% 0.203 300.9);
Tailwind
colors: {
  custom: {
    50: '#9f6cce',
    500: '#702cb7',
    950: '#000000',
  },
}
SCSS
$custom: #702cb7;
$custom-light: #9f6cce;
$custom-dark: #000000;
JSON
{
  "hex": "#702cb7",
  "rgb": {
    "r": 112,
    "g": 44,
    "b": 183
  },
  "hsl": {
    "h": 269.353,
    "s": 61.233,
    "l": 44.51
  },
  "oklch": {
    "l": 0.4676,
    "c": 0.2034,
    "h": 300.9
  },
  "luminance": 0.08665
}

Semantic roles & 50–950 ramp

primary
#702CB7
secondary
#A0C876
accent
#E44396
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#0F0714
muted
#7F7A82

Preview Lab

Preview with #702CB7

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

Preview Lab → · Contrast checker → · Palette generator →

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