#702EB5#702EB5

#702EB5 is a mid, vivid violet. Relative luminance 0.087; OKLCH L 46.8% C 0.199 H 301.1°. Best body text is #FFFFFF at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#702EB5
RGBrgb(112, 46, 181)
HSLhsl(269, 59%, 45%)
HSVhsv(269, 75%, 71%)
CMYKcmyk(38.1%, 74.6%, 0%, 29%)
CIE-LABlab(35.47, 54.22, -59.74)
CIE-LCHlch(35.47, 80.67, 312.23°)
OKLaboklab(46.81% 0.103 -0.1705)
OKLCHoklch(46.81% 0.199 301.1)
XYZxyz(15.9975, 8.7348, 44.5503)
Luminance0.0873 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702EB5 #73B52E
analogous
#2E30B5 #702EB5 #B32EB5
triadic
#702EB5 #B5702E #2EB570
tetradic
#702EB5 #B52E30 #73B52E #2EB5B3
square
#702EB5 #B52E30 #73B52E #2EB5B3
split-complementary
#702EB5 #B5B32E #30B52E
monochromatic
#341553 #522284 #702EB5 #8F4ED2 #AE7FDE

Accessibility & contrast

On white

7.64
#702EB5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#702EB5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #702EB5
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702EB5#FFFFFF#000000##FFFFFF
##702EB51.007.642.757.64
#FFFFFF7.641.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.641.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #702eb5;
/* rgb */ color: rgb(112, 46, 181);
/* oklch */ color: oklch(46.8% 0.199 301.1);
Tailwind
colors: {
  custom: {
    50: '#9f6dcc',
    500: '#702eb5',
    950: '#000000',
  },
}
SCSS
$custom: #702eb5;
$custom-light: #9f6dcc;
$custom-dark: #000000;
JSON
{
  "hex": "#702eb5",
  "rgb": {
    "r": 112,
    "g": 46,
    "b": 181
  },
  "hsl": {
    "h": 269.333,
    "s": 59.471,
    "l": 44.51
  },
  "oklch": {
    "l": 0.46807,
    "c": 0.19918,
    "h": 301.1
  },
  "luminance": 0.08735
}

Semantic roles & 50–950 ramp

primary
#702EB5
secondary
#A0C778
accent
#E34596
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #702EB5

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

Preview Lab → · Contrast checker → · Palette generator →

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