#702DB5#702DB5

#702DB5 is a mid, highly saturated violet. Relative luminance 0.087; OKLCH L 46.7% C 0.200 H 301.3°. Best body text is #FFFFFF at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#702DB5
RGBrgb(112, 45, 181)
HSLhsl(270, 60%, 44%)
HSVhsv(270, 75%, 71%)
CMYKcmyk(38.1%, 75.1%, 0%, 29%)
CIE-LABlab(35.32, 54.65, -59.99)
CIE-LCHlch(35.32, 81.15, 312.33°)
OKLaboklab(46.7% 0.1039 -0.1712)
OKLCHoklch(46.7% 0.2 301.3)
XYZxyz(15.9589, 8.6576, 44.5374)
Luminance0.0866 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702DB5 #72B52D
analogous
#2D2EB5 #702DB5 #B42DB5
triadic
#702DB5 #B5702D #2DB570
tetradic
#702DB5 #B52D2E #72B52D #2DB5B4
square
#702DB5 #B52D2E #72B52D #2DB5B4
split-complementary
#702DB5 #B5B42D #2EB52D
monochromatic
#331553 #522184 #702DB5 #8F4DD3 #AD7EDF

Accessibility & contrast

On white

7.69
#702DB5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #702DB5
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702DB5#FFFFFF#000000##FFFFFF
##702DB51.007.692.737.69
#FFFFFF7.691.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B9
Deuteranopia (green-blind)
#0052B2
Tritanopia (blue-blind)
#61506F
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #702db5;
/* rgb */ color: rgb(112, 45, 181);
/* oklch */ color: oklch(46.7% 0.200 301.3);
Tailwind
colors: {
  custom: {
    50: '#9f6dcc',
    500: '#702db5',
    950: '#000000',
  },
}
SCSS
$custom: #702db5;
$custom-light: #9f6dcc;
$custom-dark: #000000;
JSON
{
  "hex": "#702db5",
  "rgb": {
    "r": 112,
    "g": 45,
    "b": 181
  },
  "hsl": {
    "h": 269.559,
    "s": 60.177,
    "l": 44.314
  },
  "oklch": {
    "l": 0.467,
    "c": 0.20027,
    "h": 301.3
  },
  "luminance": 0.08658
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #702DB5

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

Preview Lab → · Contrast checker → · Palette generator →

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