#702EB4#702EB4

#702EB4 is a mid, vivid violet. Relative luminance 0.087; OKLCH L 46.7% C 0.198 H 301.4°. Best body text is #FFFFFF at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#702EB4
RGBrgb(112, 46, 180)
HSLhsl(270, 59%, 44%)
HSVhsv(270, 74%, 71%)
CMYKcmyk(37.8%, 74.4%, 0%, 29.4%)
CIE-LABlab(35.39, 53.97, -59.28)
CIE-LCHlch(35.39, 80.17, 312.32°)
OKLaboklab(46.73% 0.1032 -0.1691)
OKLCHoklch(46.73% 0.198 301.4)
XYZxyz(15.8953, 8.6939, 44.0118)
Luminance0.0869 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702EB4 #72B42E
analogous
#2E2FB4 #702EB4 #B32EB4
triadic
#702EB4 #B4702E #2EB470
tetradic
#702EB4 #B42E2F #72B42E #2EB4B3
square
#702EB4 #B42E2F #72B42E #2EB4B3
split-complementary
#702EB4 #B4B32E #2FB42E
monochromatic
#331553 #522283 #702EB4 #8F4ED2 #AD7EDE

Accessibility & contrast

On white

7.67
#702EB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#702EB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #702EB4
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702EB4#FFFFFF#000000##FFFFFF
##702EB41.007.672.747.67
#FFFFFF7.671.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.671.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #702eb4;
/* rgb */ color: rgb(112, 46, 180);
/* oklch */ color: oklch(46.7% 0.198 301.4);
Tailwind
colors: {
  custom: {
    50: '#9f6dcb',
    500: '#702eb4',
    950: '#000000',
  },
}
SCSS
$custom: #702eb4;
$custom-light: #9f6dcb;
$custom-dark: #000000;
JSON
{
  "hex": "#702eb4",
  "rgb": {
    "r": 112,
    "g": 46,
    "b": 180
  },
  "hsl": {
    "h": 269.552,
    "s": 59.292,
    "l": 44.314
  },
  "oklch": {
    "l": 0.46725,
    "c": 0.19814,
    "h": 301.4
  },
  "luminance": 0.08694
}

Semantic roles & 50–950 ramp

primary
#702EB4
secondary
#9FC777
accent
#E24595
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #702EB4

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

Preview Lab → · Contrast checker → · Palette generator →

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