#702CB4#702CB4

#702CB4 is a mid, highly saturated violet. Relative luminance 0.085; OKLCH L 46.5% C 0.200 H 301.6°. Best body text is #FFFFFF at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#702CB4
RGBrgb(112, 44, 180)
HSLhsl(270, 61%, 44%)
HSVhsv(270, 76%, 71%)
CMYKcmyk(37.8%, 75.6%, 0%, 29.4%)
CIE-LABlab(35.09, 54.84, -59.77)
CIE-LCHlch(35.09, 81.11, 312.53°)
OKLaboklab(46.51% 0.105 -0.1706)
OKLCHoklch(46.51% 0.2 301.6)
XYZxyz(15.8190, 8.5413, 43.9864)
Luminance0.0854 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702CB4 #70B42C
analogous
#2C2CB4 #702CB4 #B42CB4
triadic
#702CB4 #B4702C #2CB470
tetradic
#702CB4 #B42C2C #70B42C #2CB4B4
square
#702CB4 #B42C2C #70B42C #2CB4B4
split-complementary
#702CB4 #B4B42C #2CB42C
monochromatic
#331452 #512083 #702CB4 #8F4AD3 #AD7CDF

Accessibility & contrast

On white

7.75
#702CB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#702CB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #702CB4
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702CB4#FFFFFF#000000##FFFFFF
##702CB41.007.752.717.75
#FFFFFF7.751.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B8
Deuteranopia (green-blind)
#0052B1
Tritanopia (blue-blind)
#614F6E
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #702cb4;
/* rgb */ color: rgb(112, 44, 180);
/* oklch */ color: oklch(46.5% 0.200 301.6);
Tailwind
colors: {
  custom: {
    50: '#9f6ccb',
    500: '#702cb4',
    950: '#000000',
  },
}
SCSS
$custom: #702cb4;
$custom-light: #9f6ccb;
$custom-dark: #000000;
JSON
{
  "hex": "#702cb4",
  "rgb": {
    "r": 112,
    "g": 44,
    "b": 180
  },
  "hsl": {
    "h": 270,
    "s": 60.714,
    "l": 43.922
  },
  "oklch": {
    "l": 0.46512,
    "c": 0.20031,
    "h": 301.6
  },
  "luminance": 0.08541
}

Semantic roles & 50–950 ramp

primary
#702CB4
secondary
#9EC775
accent
#E44494
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #702CB4

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

Preview Lab → · Contrast checker → · Palette generator →

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