#702BB7#702BB7

#702BB7 is a mid, highly saturated violet. Relative luminance 0.086; OKLCH L 46.7% C 0.204 H 301.0°. Best body text is #FFFFFF at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#702BB7
RGBrgb(112, 43, 183)
HSLhsl(270, 62%, 44%)
HSVhsv(270, 77%, 72%)
CMYKcmyk(38.8%, 76.5%, 0%, 28.2%)
CIE-LABlab(35.19, 55.97, -61.39)
CIE-LCHlch(35.19, 83.07, 312.36°)
OKLaboklab(46.66% 0.1052 -0.1753)
OKLCHoklch(46.66% 0.204 301)
XYZxyz(16.0911, 8.5913, 45.6011)
Luminance0.0859 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702BB7 #72B72B
analogous
#2B2CB7 #702BB7 #B62BB7
triadic
#702BB7 #B7702B #2BB770
tetradic
#702BB7 #B72B2C #72B72B #2BB7B6
square
#702BB7 #B72B2C #72B72B #2BB7B6
split-complementary
#702BB7 #B7B62B #2CB72B
monochromatic
#331454 #521F85 #702BB7 #8F4BD5 #AD7CE0

Accessibility & contrast

On white

7.73
#702BB7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#702BB7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #702BB7
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702BB7#FFFFFF#000000##FFFFFF
##702BB71.007.732.727.73
#FFFFFF7.731.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052BB
Deuteranopia (green-blind)
#0052B4
Tritanopia (blue-blind)
#605070
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #702bb7;
/* rgb */ color: rgb(112, 43, 183);
/* oklch */ color: oklch(46.7% 0.204 301.0);
Tailwind
colors: {
  custom: {
    50: '#a06cce',
    500: '#702bb7',
    950: '#000000',
  },
}
SCSS
$custom: #702bb7;
$custom-light: #a06cce;
$custom-dark: #000000;
JSON
{
  "hex": "#702bb7",
  "rgb": {
    "r": 112,
    "g": 43,
    "b": 183
  },
  "hsl": {
    "h": 269.571,
    "s": 61.947,
    "l": 44.314
  },
  "oklch": {
    "l": 0.46658,
    "c": 0.20444,
    "h": 301
  },
  "luminance": 0.08591
}

Semantic roles & 50–950 ramp

primary
#702BB7
secondary
#9FC975
accent
#E54395
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#0F0714
muted
#7F7A82

Preview Lab

Preview with #702BB7

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

Preview Lab → · Contrast checker → · Palette generator →

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