#702FA0#702FA0

#702FA0 is a mid, vivid violet. Relative luminance 0.080; OKLCH L 45.3% C 0.176 H 307.0°. Best body text is #FFFFFF at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#702FA0
RGBrgb(112, 47, 160)
HSLhsl(275, 55%, 41%)
HSVhsv(275, 71%, 63%)
CMYKcmyk(30%, 70.6%, 0%, 37.3%)
CIE-LABlab(34.02, 48.74, -49.53)
CIE-LCHlch(34.02, 69.49, 314.54°)
OKLaboklab(45.27% 0.1059 -0.1405)
OKLCHoklch(45.27% 0.176 307)
XYZxyz(14.0424, 8.0160, 34.0584)
Luminance0.0802 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702FA0 #5FA02F
analogous
#372FA0 #702FA0 #A02F97
triadic
#702FA0 #A0702F #2FA070
tetradic
#702FA0 #A0372F #5FA02F #2F97A0
square
#702FA0 #A0372F #5FA02F #2F97A0
split-complementary
#702FA0 #97A02F #2FA037
monochromatic
#2E1341 #4F2171 #702FA0 #9044C8 #AC73D6

Accessibility & contrast

On white

8.07
#702FA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#702FA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #702FA0
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702FA0#FFFFFF#000000##FFFFFF
##702FA01.008.072.608.07
#FFFFFF8.071.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA3
Deuteranopia (green-blind)
#0C509E
Tritanopia (blue-blind)
#684864
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #702fa0;
/* rgb */ color: rgb(112, 47, 160);
/* oklch */ color: oklch(45.3% 0.176 307.0);
Tailwind
colors: {
  custom: {
    50: '#9d6dbd',
    500: '#702fa0',
    950: '#000000',
  },
}
SCSS
$custom: #702fa0;
$custom-light: #9d6dbd;
$custom-dark: #000000;
JSON
{
  "hex": "#702fa0",
  "rgb": {
    "r": 112,
    "g": 47,
    "b": 160
  },
  "hsl": {
    "h": 274.513,
    "s": 54.589,
    "l": 40.588
  },
  "oklch": {
    "l": 0.45272,
    "c": 0.1759,
    "h": 307
  },
  "luminance": 0.08016
}

Semantic roles & 50–950 ramp

primary
#702FA0
secondary
#8FBE6D
accent
#DE4A89
background
#FAF6FB
surface
#F3ECF7
border
#CDC7D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #702FA0

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

Preview Lab → · Contrast checker → · Palette generator →

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