#702DB4#702DB4

#702DB4 is a mid, vivid violet. Relative luminance 0.086; OKLCH L 46.6% C 0.199 H 301.5°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#702DB4
RGBrgb(112, 45, 180)
HSLhsl(270, 60%, 44%)
HSVhsv(270, 75%, 71%)
CMYKcmyk(37.8%, 75%, 0%, 29.4%)
CIE-LABlab(35.24, 54.41, -59.53)
CIE-LCHlch(35.24, 80.64, 312.43°)
OKLaboklab(46.62% 0.1041 -0.1699)
OKLCHoklch(46.62% 0.199 301.5)
XYZxyz(15.8567, 8.6167, 43.9990)
Luminance0.0862 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702DB4 #71B42D
analogous
#2D2DB4 #702DB4 #B42DB4
triadic
#702DB4 #B4702D #2DB470
tetradic
#702DB4 #B42D2D #71B42D #2DB4B4
square
#702DB4 #B42D2D #71B42D #2DB4B4
split-complementary
#702DB4 #B4B42D #2DB42D
monochromatic
#331552 #522183 #702DB4 #8F4CD2 #AD7DDE

Accessibility & contrast

On white

7.71
#702DB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #702DB4
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702DB4#FFFFFF#000000##FFFFFF
##702DB41.007.712.727.71
#FFFFFF7.711.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B8
Deuteranopia (green-blind)
#0052B1
Tritanopia (blue-blind)
#614F6F
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #702db4;
/* rgb */ color: rgb(112, 45, 180);
/* oklch */ color: oklch(46.6% 0.199 301.5);
Tailwind
colors: {
  custom: {
    50: '#9f6dcb',
    500: '#702db4',
    950: '#000000',
  },
}
SCSS
$custom: #702db4;
$custom-light: #9f6dcb;
$custom-dark: #000000;
JSON
{
  "hex": "#702db4",
  "rgb": {
    "r": 112,
    "g": 45,
    "b": 180
  },
  "hsl": {
    "h": 269.778,
    "s": 60,
    "l": 44.118
  },
  "oklch": {
    "l": 0.46618,
    "c": 0.19924,
    "h": 301.5
  },
  "luminance": 0.08617
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #702DB4

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

Preview Lab → · Contrast checker → · Palette generator →

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