#702DB3#702DB3

#702DB3 is a mid, vivid violet. Relative luminance 0.086; OKLCH L 46.5% C 0.198 H 301.8°. Best body text is #FFFFFF at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#702DB3
RGBrgb(112, 45, 179)
HSLhsl(270, 60%, 44%)
HSVhsv(270, 75%, 70%)
CMYKcmyk(37.4%, 74.9%, 0%, 29.8%)
CIE-LABlab(35.16, 54.17, -59.06)
CIE-LCHlch(35.16, 80.14, 312.52°)
OKLaboklab(46.54% 0.1044 -0.1685)
OKLCHoklch(46.54% 0.198 301.8)
XYZxyz(15.7552, 8.5761, 43.4644)
Luminance0.0858 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702DB3 #70B32D
analogous
#2D2DB3 #702DB3 #B32DB3
triadic
#702DB3 #B3702D #2DB370
tetradic
#702DB3 #B32D2D #70B32D #2DB3B3
square
#702DB3 #B32D2D #70B32D #2DB3B3
split-complementary
#702DB3 #B3B32D #2DB32D
monochromatic
#331451 #512182 #702DB3 #8F4BD2 #AD7CDE

Accessibility & contrast

On white

7.73
#702DB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#702DB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #702DB3
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702DB3#FFFFFF#000000##FFFFFF
##702DB31.007.732.727.73
#FFFFFF7.731.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B7
Deuteranopia (green-blind)
#0052B0
Tritanopia (blue-blind)
#614F6E
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #702db3;
/* rgb */ color: rgb(112, 45, 179);
/* oklch */ color: oklch(46.5% 0.198 301.8);
Tailwind
colors: {
  custom: {
    50: '#9f6dcb',
    500: '#702db3',
    950: '#000000',
  },
}
SCSS
$custom: #702db3;
$custom-light: #9f6dcb;
$custom-dark: #000000;
JSON
{
  "hex": "#702db3",
  "rgb": {
    "r": 112,
    "g": 45,
    "b": 179
  },
  "hsl": {
    "h": 270,
    "s": 59.821,
    "l": 43.922
  },
  "oklch": {
    "l": 0.46536,
    "c": 0.19819,
    "h": 301.8
  },
  "luminance": 0.08576
}

Semantic roles & 50–950 ramp

primary
#702DB3
secondary
#9EC775
accent
#E34594
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #702DB3

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

Preview Lab → · Contrast checker → · Palette generator →

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