#702FA1#702FA1

#702FA1 is a mid, vivid violet. Relative luminance 0.081; OKLCH L 45.3% C 0.177 H 306.7°. Best body text is #FFFFFF at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#702FA1
RGBrgb(112, 47, 161)
HSLhsl(274, 55%, 41%)
HSVhsv(274, 71%, 63%)
CMYKcmyk(30.4%, 70.8%, 0%, 36.9%)
CIE-LABlab(34.09, 48.97, -50.02)
CIE-LCHlch(34.09, 70.00, 314.40°)
OKLaboklab(45.35% 0.1057 -0.1419)
OKLCHoklch(45.35% 0.177 306.7)
XYZxyz(14.1302, 8.0511, 34.5209)
Luminance0.0805 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702FA1 #60A12F
analogous
#372FA1 #702FA1 #A12F99
triadic
#702FA1 #A1702F #2FA170
tetradic
#702FA1 #A1372F #60A12F #2F99A1
square
#702FA1 #A1372F #60A12F #2F99A1
split-complementary
#702FA1 #99A12F #2FA137
monochromatic
#2E1342 #4F2172 #702FA1 #9045C9 #AC74D6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##702FA1#FFFFFF#000000##FFFFFF
##702FA11.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)
#004EA4
Deuteranopia (green-blind)
#09519F
Tritanopia (blue-blind)
#684964
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #702fa1;
/* rgb */ color: rgb(112, 47, 161);
/* oklch */ color: oklch(45.3% 0.177 306.7);
Tailwind
colors: {
  custom: {
    50: '#9d6dbe',
    500: '#702fa1',
    950: '#000000',
  },
}
SCSS
$custom: #702fa1;
$custom-light: #9d6dbe;
$custom-dark: #000000;
JSON
{
  "hex": "#702fa1",
  "rgb": {
    "r": 112,
    "g": 47,
    "b": 161
  },
  "hsl": {
    "h": 274.211,
    "s": 54.808,
    "l": 40.784
  },
  "oklch": {
    "l": 0.45347,
    "c": 0.17696,
    "h": 306.7
  },
  "luminance": 0.08051
}

Semantic roles & 50–950 ramp

primary
#702FA1
secondary
#90BE6E
accent
#DE4A89
background
#FAF6FB
surface
#F3ECF7
border
#CDC7D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #702FA1

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

Preview Lab → · Contrast checker → · Palette generator →

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