#702DB9#702DB9

#702DB9 is a mid, highly saturated violet. Relative luminance 0.088; OKLCH L 47.0% C 0.204 H 300.2°. Best body text is #FFFFFF at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#702DB9
RGBrgb(112, 45, 185)
HSLhsl(269, 61%, 45%)
HSVhsv(269, 76%, 73%)
CMYKcmyk(39.5%, 75.7%, 0%, 27.5%)
CIE-LABlab(35.64, 55.62, -61.82)
CIE-LCHlch(35.64, 83.16, 311.98°)
OKLaboklab(47.03% 0.103 -0.1766)
OKLCHoklch(47.03% 0.204 300.2)
XYZxyz(16.3753, 8.8241, 46.7300)
Luminance0.0882 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702DB9 #76B92D
analogous
#2D30B9 #702DB9 #B62DB9
triadic
#702DB9 #B9702D #2DB970
tetradic
#702DB9 #B92D30 #76B92D #2DB9B6
square
#702DB9 #B92D30 #76B92D #2DB9B6
split-complementary
#702DB9 #B9B62D #30B92D
monochromatic
#341557 #522188 #702DB9 #8F4FD4 #AE80E0

Accessibility & contrast

On white

7.60
#702DB9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#702DB9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #702DB9
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702DB9#FFFFFF#000000##FFFFFF
##702DB91.007.602.767.60
#FFFFFF7.601.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053BD
Deuteranopia (green-blind)
#0053B6
Tritanopia (blue-blind)
#5F5271
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #702db9;
/* rgb */ color: rgb(112, 45, 185);
/* oklch */ color: oklch(47.0% 0.204 300.2);
Tailwind
colors: {
  custom: {
    50: '#a06dcf',
    500: '#702db9',
    950: '#000000',
  },
}
SCSS
$custom: #702db9;
$custom-light: #a06dcf;
$custom-dark: #000000;
JSON
{
  "hex": "#702db9",
  "rgb": {
    "r": 112,
    "g": 45,
    "b": 185
  },
  "hsl": {
    "h": 268.714,
    "s": 60.87,
    "l": 45.098
  },
  "oklch": {
    "l": 0.47031,
    "c": 0.20442,
    "h": 300.2
  },
  "luminance": 0.08824
}

Semantic roles & 50–950 ramp

primary
#702DB9
secondary
#A3C979
accent
#E44497
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#0F0714
muted
#7F7A82

Preview Lab

Preview with #702DB9

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

Preview Lab → · Contrast checker → · Palette generator →

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