#702DB2#702DB2

#702DB2 is a mid, vivid violet. Relative luminance 0.085; OKLCH L 46.5% C 0.197 H 302.0°. Best body text is #FFFFFF at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#702DB2
RGBrgb(112, 45, 178)
HSLhsl(270, 60%, 44%)
HSVhsv(270, 75%, 70%)
CMYKcmyk(37.1%, 74.7%, 0%, 30.2%)
CIE-LABlab(35.07, 53.93, -58.60)
CIE-LCHlch(35.07, 79.64, 312.62°)
OKLaboklab(46.45% 0.1046 -0.1671)
OKLCHoklch(46.45% 0.197 302)
XYZxyz(15.6544, 8.5358, 42.9337)
Luminance0.0854 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702DB2 #6FB22D
analogous
#2E2DB2 #702DB2 #B22DB1
triadic
#702DB2 #B2702D #2DB270
tetradic
#702DB2 #B22E2D #6FB22D #2DB1B2
square
#702DB2 #B22E2D #6FB22D #2DB1B2
split-complementary
#702DB2 #B1B22D #2DB22E
monochromatic
#331450 #512181 #702DB2 #8F4BD1 #AD7CDE

Accessibility & contrast

On white

7.76
#702DB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#702DB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #702DB2
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702DB2#FFFFFF#000000##FFFFFF
##702DB21.007.762.717.76
#FFFFFF7.761.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B6
Deuteranopia (green-blind)
#0052AF
Tritanopia (blue-blind)
#624F6D
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #702db2;
/* rgb */ color: rgb(112, 45, 178);
/* oklch */ color: oklch(46.5% 0.197 302.0);
Tailwind
colors: {
  custom: {
    50: '#9f6dca',
    500: '#702db2',
    950: '#000000',
  },
}
SCSS
$custom: #702db2;
$custom-light: #9f6dca;
$custom-dark: #000000;
JSON
{
  "hex": "#702db2",
  "rgb": {
    "r": 112,
    "g": 45,
    "b": 178
  },
  "hsl": {
    "h": 270.226,
    "s": 59.641,
    "l": 43.725
  },
  "oklch": {
    "l": 0.46454,
    "c": 0.19716,
    "h": 302
  },
  "luminance": 0.08536
}

Semantic roles & 50–950 ramp

primary
#702DB2
secondary
#9DC675
accent
#E34593
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #702DB2

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

Preview Lab → · Contrast checker → · Palette generator →

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