#702EB0#702EB0

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

Color values

HEX#702EB0
RGBrgb(112, 46, 176)
HSLhsl(270, 59%, 44%)
HSVhsv(270, 74%, 69%)
CMYKcmyk(36.4%, 73.9%, 0%, 31%)
CIE-LABlab(35.07, 53.01, -57.42)
CIE-LCHlch(35.07, 78.14, 312.71°)
OKLaboklab(46.4% 0.1041 -0.1637)
OKLCHoklch(46.4% 0.194 302.5)
XYZxyz(15.4937, 8.5333, 41.8967)
Luminance0.0853 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702EB0 #6EB02E
analogous
#2F2EB0 #702EB0 #B02EAF
triadic
#702EB0 #B0702E #2EB070
tetradic
#702EB0 #B02F2E #6EB02E #2EAFB0
square
#702EB0 #B02F2E #6EB02E #2EAFB0
split-complementary
#702EB0 #AFB02E #2EB02F
monochromatic
#32154F #51217F #702EB0 #8F4BD0 #AD7CDD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##702EB0#FFFFFF#000000##FFFFFF
##702EB01.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)
#0051B4
Deuteranopia (green-blind)
#0052AD
Tritanopia (blue-blind)
#634E6D
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #702eb0;
/* rgb */ color: rgb(112, 46, 176);
/* oklch */ color: oklch(46.4% 0.194 302.5);
Tailwind
colors: {
  custom: {
    50: '#9f6dc8',
    500: '#702eb0',
    950: '#000000',
  },
}
SCSS
$custom: #702eb0;
$custom-light: #9f6dc8;
$custom-dark: #000000;
JSON
{
  "hex": "#702eb0",
  "rgb": {
    "r": 112,
    "g": 46,
    "b": 176
  },
  "hsl": {
    "h": 270.462,
    "s": 58.559,
    "l": 43.529
  },
  "oklch": {
    "l": 0.46401,
    "c": 0.19395,
    "h": 302.5
  },
  "luminance": 0.08533
}

Semantic roles & 50–950 ramp

primary
#702EB0
secondary
#9CC575
accent
#E24693
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #702EB0

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

Preview Lab → · Contrast checker → · Palette generator →

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