#702EB7#702EB7

#702EB7 is a mid, highly saturated violet. Relative luminance 0.088; OKLCH L 47.0% C 0.201 H 300.6°. Best body text is #FFFFFF at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#702EB7
RGBrgb(112, 46, 183)
HSLhsl(269, 60%, 45%)
HSVhsv(269, 75%, 72%)
CMYKcmyk(38.8%, 74.9%, 0%, 28.2%)
CIE-LABlab(35.63, 54.70, -60.66)
CIE-LCHlch(35.63, 81.68, 312.04°)
OKLaboklab(46.97% 0.1025 -0.1732)
OKLCHoklch(46.97% 0.201 300.6)
XYZxyz(16.2042, 8.8175, 45.6388)
Luminance0.0882 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702EB7 #75B72E
analogous
#2E31B7 #702EB7 #B42EB7
triadic
#702EB7 #B7702E #2EB770
tetradic
#702EB7 #B72E31 #75B72E #2EB7B4
square
#702EB7 #B72E31 #75B72E #2EB7B4
split-complementary
#702EB7 #B7B42E #31B72E
monochromatic
#341555 #522286 #702EB7 #8F4FD3 #AE80DF

Accessibility & contrast

On white

7.60
#702EB7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#702EB7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #702EB7
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702EB7#FFFFFF#000000##FFFFFF
##702EB71.007.602.767.60
#FFFFFF7.601.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053BB
Deuteranopia (green-blind)
#0053B4
Tritanopia (blue-blind)
#605170
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #702eb7;
/* rgb */ color: rgb(112, 46, 183);
/* oklch */ color: oklch(47.0% 0.201 300.6);
Tailwind
colors: {
  custom: {
    50: '#9f6dce',
    500: '#702eb7',
    950: '#000000',
  },
}
SCSS
$custom: #702eb7;
$custom-light: #9f6dce;
$custom-dark: #000000;
JSON
{
  "hex": "#702eb7",
  "rgb": {
    "r": 112,
    "g": 46,
    "b": 183
  },
  "hsl": {
    "h": 268.905,
    "s": 59.825,
    "l": 44.902
  },
  "oklch": {
    "l": 0.46971,
    "c": 0.20128,
    "h": 300.6
  },
  "luminance": 0.08818
}

Semantic roles & 50–950 ramp

primary
#702EB7
secondary
#A2C879
accent
#E34597
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#0F0714
muted
#7F7A82

Preview Lab

Preview with #702EB7

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

Preview Lab → · Contrast checker → · Palette generator →

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