#702BA6#702BA6

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

Color values

HEX#702BA6
RGBrgb(112, 43, 166)
HSLhsl(274, 59%, 41%)
HSVhsv(274, 74%, 65%)
CMYKcmyk(32.5%, 74.1%, 0%, 34.9%)
CIE-LABlab(33.83, 51.94, -53.45)
CIE-LCHlch(33.83, 74.53, 314.18°)
OKLaboklab(45.28% 0.109 -0.152)
OKLCHoklch(45.28% 0.187 305.6)
XYZxyz(14.4274, 7.9258, 36.8388)
Luminance0.0793 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702BA6 #61A62B
analogous
#332BA6 #702BA6 #A62B9E
triadic
#702BA6 #A6702B #2BA670
tetradic
#702BA6 #A6332B #61A62B #2B9EA6
square
#702BA6 #A6332B #61A62B #2B9EA6
split-complementary
#702BA6 #9EA62B #2BA633
monochromatic
#2E1245 #4F1E75 #702BA6 #9041CE #AC71DA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##702BA6#FFFFFF#000000##FFFFFF
##702BA61.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)
#004EAA
Deuteranopia (green-blind)
#0050A3
Tritanopia (blue-blind)
#664966
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #702ba6;
/* rgb */ color: rgb(112, 43, 166);
/* oklch */ color: oklch(45.3% 0.187 305.6);
Tailwind
colors: {
  custom: {
    50: '#9e6bc1',
    500: '#702ba6',
    950: '#000000',
  },
}
SCSS
$custom: #702ba6;
$custom-light: #9e6bc1;
$custom-dark: #000000;
JSON
{
  "hex": "#702ba6",
  "rgb": {
    "r": 112,
    "g": 43,
    "b": 166
  },
  "hsl": {
    "h": 273.659,
    "s": 58.852,
    "l": 40.98
  },
  "oklch": {
    "l": 0.45279,
    "c": 0.18702,
    "h": 305.6
  },
  "luminance": 0.07926
}

Semantic roles & 50–950 ramp

primary
#702BA6
secondary
#91C16B
accent
#E2468A
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #702BA6

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

Preview Lab → · Contrast checker → · Palette generator →

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