#702EB2#702EB2

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

Color values

HEX#702EB2
RGBrgb(112, 46, 178)
HSLhsl(270, 59%, 44%)
HSVhsv(270, 74%, 70%)
CMYKcmyk(37.1%, 74.2%, 0%, 30.2%)
CIE-LABlab(35.23, 53.49, -58.35)
CIE-LCHlch(35.23, 79.16, 312.51°)
OKLaboklab(46.56% 0.1037 -0.1664)
OKLCHoklch(46.56% 0.196 301.9)
XYZxyz(15.6930, 8.6130, 42.9466)
Luminance0.0861 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702EB2 #70B22E
analogous
#2E2EB2 #702EB2 #B22EB2
triadic
#702EB2 #B2702E #2EB270
tetradic
#702EB2 #B22E2E #70B22E #2EB2B2
square
#702EB2 #B22E2E #70B22E #2EB2B2
split-complementary
#702EB2 #B2B22E #2EB22E
monochromatic
#331551 #512181 #702EB2 #8F4CD1 #AD7DDD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##702EB2#FFFFFF#000000##FFFFFF
##702EB21.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)
#0052B6
Deuteranopia (green-blind)
#0052AF
Tritanopia (blue-blind)
#624F6E
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #702eb2;
/* rgb */ color: rgb(112, 46, 178);
/* oklch */ color: oklch(46.6% 0.196 301.9);
Tailwind
colors: {
  custom: {
    50: '#9f6dca',
    500: '#702eb2',
    950: '#000000',
  },
}
SCSS
$custom: #702eb2;
$custom-light: #9f6dca;
$custom-dark: #000000;
JSON
{
  "hex": "#702eb2",
  "rgb": {
    "r": 112,
    "g": 46,
    "b": 178
  },
  "hsl": {
    "h": 270,
    "s": 58.929,
    "l": 43.922
  },
  "oklch": {
    "l": 0.46562,
    "c": 0.19605,
    "h": 301.9
  },
  "luminance": 0.08613
}

Semantic roles & 50–950 ramp

primary
#702EB2
secondary
#9EC676
accent
#E24694
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #702EB2

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

Preview Lab → · Contrast checker → · Palette generator →

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