#702EAF#702EAF

#702EAF is a mid, vivid violet. Relative luminance 0.085; OKLCH L 46.3% C 0.193 H 302.7°. Best body text is #FFFFFF at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#702EAF
RGBrgb(112, 46, 175)
HSLhsl(271, 58%, 43%)
HSVhsv(271, 74%, 69%)
CMYKcmyk(36%, 73.7%, 0%, 31.4%)
CIE-LABlab(34.99, 52.76, -56.95)
CIE-LCHlch(34.99, 77.64, 312.82°)
OKLaboklab(46.32% 0.1043 -0.1623)
OKLCHoklch(46.32% 0.193 302.7)
XYZxyz(15.3951, 8.4939, 41.3775)
Luminance0.0849 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702EAF #6DAF2E
analogous
#302EAF #702EAF #AF2EAD
triadic
#702EAF #AF702E #2EAF70
tetradic
#702EAF #AF302E #6DAF2E #2EADAF
square
#702EAF #AF302E #6DAF2E #2EADAF
split-complementary
#702EAF #ADAF2E #2EAF30
monochromatic
#32154E #51217F #702EAF #8F4BD0 #AD7BDC

Accessibility & contrast

On white

7.78
#702EAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#702EAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #702EAF
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702EAF#FFFFFF#000000##FFFFFF
##702EAF1.007.782.707.78
#FFFFFF7.781.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B3
Deuteranopia (green-blind)
#0052AC
Tritanopia (blue-blind)
#634E6C
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #702eaf;
/* rgb */ color: rgb(112, 46, 175);
/* oklch */ color: oklch(46.3% 0.193 302.7);
Tailwind
colors: {
  custom: {
    50: '#9f6dc8',
    500: '#702eaf',
    950: '#000000',
  },
}
SCSS
$custom: #702eaf;
$custom-light: #9f6dc8;
$custom-dark: #000000;
JSON
{
  "hex": "#702eaf",
  "rgb": {
    "r": 112,
    "g": 46,
    "b": 175
  },
  "hsl": {
    "h": 270.698,
    "s": 58.371,
    "l": 43.333
  },
  "oklch": {
    "l": 0.46321,
    "c": 0.19291,
    "h": 302.7
  },
  "luminance": 0.08494
}

Semantic roles & 50–950 ramp

primary
#702EAF
secondary
#9BC574
accent
#E24692
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #702EAF

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

Preview Lab → · Contrast checker → · Palette generator →

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