#702BA7#702BA7

#702BA7 is a mid, vivid violet. Relative luminance 0.080; OKLCH L 45.4% C 0.188 H 305.3°. Best body text is #FFFFFF at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#702BA7
RGBrgb(112, 43, 167)
HSLhsl(273, 59%, 41%)
HSVhsv(273, 74%, 65%)
CMYKcmyk(32.9%, 74.3%, 0%, 34.5%)
CIE-LABlab(33.90, 52.18, -53.93)
CIE-LCHlch(33.90, 75.04, 314.05°)
OKLaboklab(45.36% 0.1088 -0.1534)
OKLCHoklch(45.36% 0.188 305.3)
XYZxyz(14.5195, 7.9626, 37.3238)
Luminance0.0796 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702BA7 #62A72B
analogous
#322BA7 #702BA7 #A72BA0
triadic
#702BA7 #A7702B #2BA770
tetradic
#702BA7 #A7322B #62A72B #2BA0A7
square
#702BA7 #A7322B #62A72B #2BA0A7
split-complementary
#702BA7 #A0A72B #2BA732
monochromatic
#2F1246 #4F1E76 #702BA7 #9041CE #AC72DB

Accessibility & contrast

On white

8.10
#702BA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#702BA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #702BA7
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702BA7#FFFFFF#000000##FFFFFF
##702BA71.008.102.598.10
#FFFFFF8.101.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EAB
Deuteranopia (green-blind)
#0050A4
Tritanopia (blue-blind)
#664967
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #702ba7;
/* rgb */ color: rgb(112, 43, 167);
/* oklch */ color: oklch(45.4% 0.188 305.3);
Tailwind
colors: {
  custom: {
    50: '#9e6bc2',
    500: '#702ba7',
    950: '#000000',
  },
}
SCSS
$custom: #702ba7;
$custom-light: #9e6bc2;
$custom-dark: #000000;
JSON
{
  "hex": "#702ba7",
  "rgb": {
    "r": 112,
    "g": 43,
    "b": 167
  },
  "hsl": {
    "h": 273.387,
    "s": 59.048,
    "l": 41.176
  },
  "oklch": {
    "l": 0.45358,
    "c": 0.18805,
    "h": 305.3
  },
  "luminance": 0.07963
}

Semantic roles & 50–950 ramp

primary
#702BA7
secondary
#92C26C
accent
#E2468B
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #702BA7

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

Preview Lab → · Contrast checker → · Palette generator →

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