#702EB8#702EB8

#702EB8 is a mid, highly saturated violet. Relative luminance 0.089; OKLCH L 47.1% C 0.202 H 300.4°. Best body text is #FFFFFF at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#702EB8
RGBrgb(112, 46, 184)
HSLhsl(269, 60%, 45%)
HSVhsv(269, 75%, 72%)
CMYKcmyk(39.1%, 75%, 0%, 27.8%)
CIE-LABlab(35.71, 54.95, -61.12)
CIE-LCHlch(35.71, 82.18, 311.96°)
OKLaboklab(47.05% 0.1023 -0.1745)
OKLCHoklch(47.05% 0.202 300.4)
XYZxyz(16.3087, 8.8593, 46.1889)
Luminance0.0886 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702EB8 #76B82E
analogous
#2E31B8 #702EB8 #B52EB8
triadic
#702EB8 #B8702E #2EB870
tetradic
#702EB8 #B82E31 #76B82E #2EB8B5
square
#702EB8 #B82E31 #76B82E #2EB8B5
split-complementary
#702EB8 #B8B52E #31B82E
monochromatic
#341656 #522287 #702EB8 #8F50D3 #AE81DF

Accessibility & contrast

On white

7.58
#702EB8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#702EB8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #702EB8
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702EB8#FFFFFF#000000##FFFFFF
##702EB81.007.582.777.58
#FFFFFF7.581.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054BC
Deuteranopia (green-blind)
#0053B5
Tritanopia (blue-blind)
#5F5271
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #702eb8;
/* rgb */ color: rgb(112, 46, 184);
/* oklch */ color: oklch(47.1% 0.202 300.4);
Tailwind
colors: {
  custom: {
    50: '#9f6dce',
    500: '#702eb8',
    950: '#000000',
  },
}
SCSS
$custom: #702eb8;
$custom-light: #9f6dce;
$custom-dark: #000000;
JSON
{
  "hex": "#702eb8",
  "rgb": {
    "r": 112,
    "g": 46,
    "b": 184
  },
  "hsl": {
    "h": 268.696,
    "s": 60,
    "l": 45.098
  },
  "oklch": {
    "l": 0.47054,
    "c": 0.20232,
    "h": 300.4
  },
  "luminance": 0.08859
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #702EB8

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

Preview Lab → · Contrast checker → · Palette generator →

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