#702BA9#702BA9

#702BA9 is a mid, vivid violet. Relative luminance 0.080; OKLCH L 45.5% C 0.190 H 304.8°. Best body text is #FFFFFF at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#702BA9
RGBrgb(112, 43, 169)
HSLhsl(273, 59%, 42%)
HSVhsv(273, 75%, 66%)
CMYKcmyk(33.7%, 74.6%, 0%, 33.7%)
CIE-LABlab(34.06, 52.65, -54.88)
CIE-LCHlch(34.06, 76.05, 313.81°)
OKLaboklab(45.52% 0.1084 -0.1562)
OKLCHoklch(45.52% 0.19 304.8)
XYZxyz(14.7058, 8.0371, 38.3050)
Luminance0.0804 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702BA9 #64A92B
analogous
#312BA9 #702BA9 #A92BA3
triadic
#702BA9 #A9702B #2BA970
tetradic
#702BA9 #A9312B #64A92B #2BA3A9
square
#702BA9 #A9312B #64A92B #2BA3A9
split-complementary
#702BA9 #A3A92B #2BA931
monochromatic
#2F1247 #501F78 #702BA9 #8F42CF #AC73DB

Accessibility & contrast

On white

8.05
#702BA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#702BA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #702BA9
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702BA9#FFFFFF#000000##FFFFFF
##702BA91.008.052.618.05
#FFFFFF8.051.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.051.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #702ba9;
/* rgb */ color: rgb(112, 43, 169);
/* oklch */ color: oklch(45.5% 0.190 304.8);
Tailwind
colors: {
  custom: {
    50: '#9e6bc3',
    500: '#702ba9',
    950: '#000000',
  },
}
SCSS
$custom: #702ba9;
$custom-light: #9e6bc3;
$custom-dark: #000000;
JSON
{
  "hex": "#702ba9",
  "rgb": {
    "r": 112,
    "g": 43,
    "b": 169
  },
  "hsl": {
    "h": 272.857,
    "s": 59.434,
    "l": 41.569
  },
  "oklch": {
    "l": 0.45516,
    "c": 0.19009,
    "h": 304.8
  },
  "luminance": 0.08037
}

Semantic roles & 50–950 ramp

primary
#702BA9
secondary
#94C36D
accent
#E3458C
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #702BA9

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

Preview Lab → · Contrast checker → · Palette generator →

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