#702BA3#702BA3

#702BA3 is a mid, vivid violet. Relative luminance 0.078; OKLCH L 45.0% C 0.184 H 306.5°. Best body text is #FFFFFF at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#702BA3
RGBrgb(112, 43, 163)
HSLhsl(275, 58%, 40%)
HSVhsv(275, 74%, 64%)
CMYKcmyk(31.3%, 73.6%, 0%, 36.1%)
CIE-LABlab(33.60, 51.24, -52.02)
CIE-LCHlch(33.60, 73.02, 314.57°)
OKLaboklab(45.05% 0.1095 -0.1478)
OKLCHoklch(45.05% 0.184 306.5)
XYZxyz(14.1554, 7.8170, 35.4063)
Luminance0.0782 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702BA3 #5EA32B
analogous
#342BA3 #702BA3 #A32B9A
triadic
#702BA3 #A3702B #2BA370
tetradic
#702BA3 #A3342B #5EA32B #2B9AA3
square
#702BA3 #A3342B #5EA32B #2B9AA3
split-complementary
#702BA3 #9AA32B #2BA334
monochromatic
#2D1142 #4F1E73 #702BA3 #903FCC #AC6FD9

Accessibility & contrast

On white

8.19
#702BA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#702BA3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #702BA3
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702BA3#FFFFFF#000000##FFFFFF
##702BA31.008.192.568.19
#FFFFFF8.191.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA6
Deuteranopia (green-blind)
#004FA1
Tritanopia (blue-blind)
#674764
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #702ba3;
/* rgb */ color: rgb(112, 43, 163);
/* oklch */ color: oklch(45.0% 0.184 306.5);
Tailwind
colors: {
  custom: {
    50: '#9e6bbf',
    500: '#702ba3',
    950: '#000000',
  },
}
SCSS
$custom: #702ba3;
$custom-light: #9e6bbf;
$custom-dark: #000000;
JSON
{
  "hex": "#702ba3",
  "rgb": {
    "r": 112,
    "g": 43,
    "b": 163
  },
  "hsl": {
    "h": 274.5,
    "s": 58.252,
    "l": 40.392
  },
  "oklch": {
    "l": 0.45045,
    "c": 0.18394,
    "h": 306.5
  },
  "luminance": 0.07817
}

Semantic roles & 50–950 ramp

primary
#702BA3
secondary
#8EC06A
accent
#E14688
background
#FAF6FB
surface
#F4ECF7
border
#CEC7D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #702BA3

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

Preview Lab → · Contrast checker → · Palette generator →

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