#702CC7#702CC7

#702CC7 is a mid, highly saturated violet. Relative luminance 0.094; OKLCH L 48.1% C 0.220 H 297.1°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#702CC7
RGBrgb(112, 44, 199)
HSLhsl(266, 64%, 48%)
HSVhsv(266, 78%, 78%)
CMYKcmyk(43.7%, 77.9%, 0%, 22%)
CIE-LABlab(36.69, 59.45, -68.33)
CIE-LCHlch(36.69, 90.57, 311.02°)
OKLaboklab(48.13% 0.1001 -0.1957)
OKLCHoklch(48.13% 0.22 297.1)
XYZxyz(17.8889, 9.3693, 54.8877)
Luminance0.0937 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702CC7 #83C72C
analogous
#2C35C7 #702CC7 #BE2CC7
triadic
#702CC7 #C7702C #2CC770
tetradic
#702CC7 #C72C35 #83C72C #2CC7BE
square
#702CC7 #C72C35 #83C72C #2CC7BE
split-complementary
#702CC7 #C7BE2C #35C72C
monochromatic
#381663 #542195 #702CC7 #9056DA #B189E5

Accessibility & contrast

On white

7.31
#702CC7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#702CC7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #702CC7
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702CC7#FFFFFF#000000##FFFFFF
##702CC71.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057CB
Deuteranopia (green-blind)
#0054C4
Tritanopia (blue-blind)
#595779
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #702cc7;
/* rgb */ color: rgb(112, 44, 199);
/* oklch */ color: oklch(48.1% 0.220 297.1);
Tailwind
colors: {
  custom: {
    50: '#a16dd9',
    500: '#702cc7',
    950: '#000000',
  },
}
SCSS
$custom: #702cc7;
$custom-light: #a16dd9;
$custom-dark: #000000;
JSON
{
  "hex": "#702cc7",
  "rgb": {
    "r": 112,
    "g": 44,
    "b": 199
  },
  "hsl": {
    "h": 266.323,
    "s": 63.786,
    "l": 47.647
  },
  "oklch": {
    "l": 0.48126,
    "c": 0.21981,
    "h": 297.1
  },
  "luminance": 0.0937
}

Semantic roles & 50–950 ramp

primary
#702CC7
secondary
#ACCF80
accent
#E7419E
background
#FAF6FD
surface
#F4ECFB
border
#CEC7D4
text
#100815
muted
#7F7B83

Preview Lab

Preview with #702CC7

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

Preview Lab → · Contrast checker → · Palette generator →

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