#702EA0#702EA0

#702EA0 is a mid, vivid violet. Relative luminance 0.079; OKLCH L 45.2% C 0.177 H 307.1°. Best body text is #FFFFFF at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#702EA0
RGBrgb(112, 46, 160)
HSLhsl(275, 55%, 40%)
HSVhsv(275, 71%, 63%)
CMYKcmyk(30%, 71.2%, 0%, 37.3%)
CIE-LABlab(33.85, 49.20, -49.80)
CIE-LCHlch(33.85, 70.00, 314.66°)
OKLaboklab(45.15% 0.1069 -0.1413)
OKLCHoklch(45.15% 0.177 307.1)
XYZxyz(14.0029, 7.9370, 34.0452)
Luminance0.0794 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702EA0 #5EA02E
analogous
#372EA0 #702EA0 #A02E97
triadic
#702EA0 #A0702E #2EA070
tetradic
#702EA0 #A0372E #5EA02E #2E97A0
square
#702EA0 #A0372E #5EA02E #2E97A0
split-complementary
#702EA0 #97A02E #2EA037
monochromatic
#2D1341 #4F2070 #702EA0 #9042C9 #AC72D6

Accessibility & contrast

On white

8.12
#702EA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#702EA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #702EA0
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702EA0#FFFFFF#000000##FFFFFF
##702EA01.008.122.598.12
#FFFFFF8.121.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.121.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #702ea0;
/* rgb */ color: rgb(112, 46, 160);
/* oklch */ color: oklch(45.2% 0.177 307.1);
Tailwind
colors: {
  custom: {
    50: '#9d6cbd',
    500: '#702ea0',
    950: '#000000',
  },
}
SCSS
$custom: #702ea0;
$custom-light: #9d6cbd;
$custom-dark: #000000;
JSON
{
  "hex": "#702ea0",
  "rgb": {
    "r": 112,
    "g": 46,
    "b": 160
  },
  "hsl": {
    "h": 274.737,
    "s": 55.34,
    "l": 40.392
  },
  "oklch": {
    "l": 0.45154,
    "c": 0.17717,
    "h": 307.1
  },
  "luminance": 0.07937
}

Semantic roles & 50–950 ramp

primary
#702EA0
secondary
#8EBE6C
accent
#DF4988
background
#FAF6FB
surface
#F3ECF7
border
#CDC7D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #702EA0

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

Preview Lab → · Contrast checker → · Palette generator →

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