#702BB4#702BB4

#702BB4 is a mid, highly saturated violet. Relative luminance 0.085; OKLCH L 46.4% C 0.201 H 301.7°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#702BB4
RGBrgb(112, 43, 180)
HSLhsl(270, 61%, 44%)
HSVhsv(270, 76%, 71%)
CMYKcmyk(37.8%, 76.1%, 0%, 29.4%)
CIE-LABlab(34.94, 55.26, -60.01)
CIE-LCHlch(34.94, 81.57, 312.64°)
OKLaboklab(46.41% 0.1059 -0.1713)
OKLCHoklch(46.41% 0.201 301.7)
XYZxyz(15.7822, 8.4677, 43.9741)
Luminance0.0847 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702BB4 #6FB42B
analogous
#2B2BB4 #702BB4 #B42BB3
triadic
#702BB4 #B4702B #2BB470
tetradic
#702BB4 #B42B2B #6FB42B #2BB3B4
square
#702BB4 #B42B2B #6FB42B #2BB3B4
split-complementary
#702BB4 #B3B42B #2BB42B
monochromatic
#331351 #511F83 #702BB4 #8F49D3 #AD7ADF

Accessibility & contrast

On white

7.80
#702BB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#702BB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #702BB4
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702BB4#FFFFFF#000000##FFFFFF
##702BB41.007.802.697.80
#FFFFFF7.801.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.801.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #702bb4;
/* rgb */ color: rgb(112, 43, 180);
/* oklch */ color: oklch(46.4% 0.201 301.7);
Tailwind
colors: {
  custom: {
    50: '#9f6ccb',
    500: '#702bb4',
    950: '#000000',
  },
}
SCSS
$custom: #702bb4;
$custom-light: #9f6ccb;
$custom-dark: #000000;
JSON
{
  "hex": "#702bb4",
  "rgb": {
    "r": 112,
    "g": 43,
    "b": 180
  },
  "hsl": {
    "h": 270.219,
    "s": 61.435,
    "l": 43.725
  },
  "oklch": {
    "l": 0.46409,
    "c": 0.20137,
    "h": 301.7
  },
  "luminance": 0.08468
}

Semantic roles & 50–950 ramp

primary
#702BB4
secondary
#9DC773
accent
#E54393
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #702BB4

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

Preview Lab → · Contrast checker → · Palette generator →

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