#702CA1#702CA1

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

Color values

HEX#702CA1
RGBrgb(112, 44, 161)
HSLhsl(275, 57%, 40%)
HSVhsv(275, 73%, 63%)
CMYKcmyk(30.4%, 72.7%, 0%, 36.9%)
CIE-LABlab(33.60, 50.34, -50.80)
CIE-LCHlch(33.60, 71.52, 314.74°)
OKLaboklab(45% 0.1089 -0.1442)
OKLCHoklch(45% 0.181 307)
XYZxyz(14.0144, 7.8195, 34.4823)
Luminance0.0782 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702CA1 #5DA12C
analogous
#362CA1 #702CA1 #A12C97
triadic
#702CA1 #A1702C #2CA170
tetradic
#702CA1 #A1362C #5DA12C #2C97A1
square
#702CA1 #A1362C #5DA12C #2C97A1
split-complementary
#702CA1 #97A12C #2CA136
monochromatic
#2D1241 #4F1F71 #702CA1 #9040CB #AC70D8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##702CA1#FFFFFF#000000##FFFFFF
##702CA11.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)
#004DA4
Deuteranopia (green-blind)
#00509F
Tritanopia (blue-blind)
#684764
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #702ca1;
/* rgb */ color: rgb(112, 44, 161);
/* oklch */ color: oklch(45.0% 0.181 307.0);
Tailwind
colors: {
  custom: {
    50: '#9e6bbe',
    500: '#702ca1',
    950: '#000000',
  },
}
SCSS
$custom: #702ca1;
$custom-light: #9e6bbe;
$custom-dark: #000000;
JSON
{
  "hex": "#702ca1",
  "rgb": {
    "r": 112,
    "g": 44,
    "b": 161
  },
  "hsl": {
    "h": 274.872,
    "s": 57.073,
    "l": 40.196
  },
  "oklch": {
    "l": 0.45002,
    "c": 0.18068,
    "h": 307
  },
  "luminance": 0.07819
}

Semantic roles & 50–950 ramp

primary
#702CA1
secondary
#8DBF6A
accent
#E04787
background
#FAF6FB
surface
#F3ECF7
border
#CDC7D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #702CA1

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

Preview Lab → · Contrast checker → · Palette generator →

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