#702BAA#702BAA

#702BAA is a mid, vivid violet. Relative luminance 0.081; OKLCH L 45.6% C 0.191 H 304.5°. Best body text is #FFFFFF at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#702BAA
RGBrgb(112, 43, 170)
HSLhsl(273, 60%, 42%)
HSVhsv(273, 75%, 67%)
CMYKcmyk(34.1%, 74.7%, 0%, 33.3%)
CIE-LABlab(34.14, 52.88, -55.35)
CIE-LCHlch(34.14, 76.55, 313.69°)
OKLaboklab(45.6% 0.1082 -0.1576)
OKLCHoklch(45.6% 0.191 304.5)
XYZxyz(14.8000, 8.0748, 38.8013)
Luminance0.0808 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702BAA #65AA2B
analogous
#302BAA #702BAA #AA2BA5
triadic
#702BAA #AA702B #2BAA70
tetradic
#702BAA #AA302B #65AA2B #2BA5AA
square
#702BAA #AA302B #65AA2B #2BA5AA
split-complementary
#702BAA #A5AA2B #2BAA30
monochromatic
#301248 #501F79 #702BAA #8F43CF #AC74DC

Accessibility & contrast

On white

8.03
#702BAA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#702BAA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #702BAA
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702BAA#FFFFFF#000000##FFFFFF
##702BAA1.008.032.628.03
#FFFFFF8.031.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FAE
Deuteranopia (green-blind)
#0050A7
Tritanopia (blue-blind)
#654A68
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #702baa;
/* rgb */ color: rgb(112, 43, 170);
/* oklch */ color: oklch(45.6% 0.191 304.5);
Tailwind
colors: {
  custom: {
    50: '#9e6bc4',
    500: '#702baa',
    950: '#000000',
  },
}
SCSS
$custom: #702baa;
$custom-light: #9e6bc4;
$custom-dark: #000000;
JSON
{
  "hex": "#702baa",
  "rgb": {
    "r": 112,
    "g": 43,
    "b": 170
  },
  "hsl": {
    "h": 272.598,
    "s": 59.624,
    "l": 41.765
  },
  "oklch": {
    "l": 0.45596,
    "c": 0.19112,
    "h": 304.5
  },
  "luminance": 0.08075
}

Semantic roles & 50–950 ramp

primary
#702BAA
secondary
#95C36E
accent
#E3458D
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #702BAA

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

Preview Lab → · Contrast checker → · Palette generator →

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