#702BC4#702BC4

#702BC4 is a mid, highly saturated violet. Relative luminance 0.092; OKLCH L 47.8% C 0.218 H 297.8°. Best body text is #FFFFFF at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#702BC4
RGBrgb(112, 43, 196)
HSLhsl(267, 64%, 47%)
HSVhsv(267, 78%, 77%)
CMYKcmyk(42.9%, 78.1%, 0%, 23.1%)
CIE-LABlab(36.29, 59.12, -67.24)
CIE-LCHlch(36.29, 89.53, 311.32°)
OKLaboklab(47.77% 0.1017 -0.1925)
OKLCHoklch(47.77% 0.218 297.8)
XYZxyz(17.5072, 9.1577, 53.0591)
Luminance0.0916 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702BC4 #7FC42B
analogous
#2B32C4 #702BC4 #BD2BC4
triadic
#702BC4 #C4702B #2BC470
tetradic
#702BC4 #C42B32 #7FC42B #2BC4BD
square
#702BC4 #C42B32 #7FC42B #2BC4BD
split-complementary
#702BC4 #C4BD2B #32C42B
monochromatic
#371560 #532092 #702BC4 #9053D9 #B085E4

Accessibility & contrast

On white

7.42
#702BC4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#702BC4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #702BC4
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702BC4#FFFFFF#000000##FFFFFF
##702BC41.007.422.837.42
#FFFFFF7.421.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056C8
Deuteranopia (green-blind)
#0054C1
Tritanopia (blue-blind)
#5A5577
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #702bc4;
/* rgb */ color: rgb(112, 43, 196);
/* oklch */ color: oklch(47.8% 0.218 297.8);
Tailwind
colors: {
  custom: {
    50: '#a16dd7',
    500: '#702bc4',
    950: '#000000',
  },
}
SCSS
$custom: #702bc4;
$custom-light: #a16dd7;
$custom-dark: #000000;
JSON
{
  "hex": "#702bc4",
  "rgb": {
    "r": 112,
    "g": 43,
    "b": 196
  },
  "hsl": {
    "h": 267.059,
    "s": 64.017,
    "l": 46.863
  },
  "oklch": {
    "l": 0.47768,
    "c": 0.2177,
    "h": 297.8
  },
  "luminance": 0.09158
}

Semantic roles & 50–950 ramp

primary
#702BC4
secondary
#A9CE7D
accent
#E7419C
background
#FAF6FD
surface
#F4ECFA
border
#CEC7D3
text
#100715
muted
#7F7A83

Preview Lab

Preview with #702BC4

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

Preview Lab → · Contrast checker → · Palette generator →

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