#702CB3#702CB3

#702CB3 is a mid, vivid violet. Relative luminance 0.085; OKLCH L 46.4% C 0.199 H 301.9°. Best body text is #FFFFFF at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#702CB3
RGBrgb(112, 44, 179)
HSLhsl(270, 61%, 44%)
HSVhsv(270, 75%, 70%)
CMYKcmyk(37.4%, 75.4%, 0%, 29.8%)
CIE-LABlab(35.00, 54.60, -59.31)
CIE-LCHlch(35.00, 80.61, 312.63°)
OKLaboklab(46.43% 0.1053 -0.1692)
OKLCHoklch(46.43% 0.199 301.9)
XYZxyz(15.7175, 8.5007, 43.4518)
Luminance0.0850 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702CB3 #6FB32C
analogous
#2C2CB3 #702CB3 #B32CB2
triadic
#702CB3 #B3702C #2CB370
tetradic
#702CB3 #B32C2C #6FB32C #2CB2B3
square
#702CB3 #B32C2C #6FB32C #2CB2B3
split-complementary
#702CB3 #B2B32C #2CB32C
monochromatic
#331451 #512082 #702CB3 #8F4AD2 #AD7BDF

Accessibility & contrast

On white

7.78
#702CB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#702CB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #702CB3
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702CB3#FFFFFF#000000##FFFFFF
##702CB31.007.782.707.78
#FFFFFF7.781.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B7
Deuteranopia (green-blind)
#0052B0
Tritanopia (blue-blind)
#624F6E
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #702cb3;
/* rgb */ color: rgb(112, 44, 179);
/* oklch */ color: oklch(46.4% 0.199 301.9);
Tailwind
colors: {
  custom: {
    50: '#9f6ccb',
    500: '#702cb3',
    950: '#000000',
  },
}
SCSS
$custom: #702cb3;
$custom-light: #9f6ccb;
$custom-dark: #000000;
JSON
{
  "hex": "#702cb3",
  "rgb": {
    "r": 112,
    "g": 44,
    "b": 179
  },
  "hsl": {
    "h": 270.222,
    "s": 60.538,
    "l": 43.725
  },
  "oklch": {
    "l": 0.4643,
    "c": 0.19928,
    "h": 301.9
  },
  "luminance": 0.08501
}

Semantic roles & 50–950 ramp

primary
#702CB3
secondary
#9DC774
accent
#E44493
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #702CB3

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

Preview Lab → · Contrast checker → · Palette generator →

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