#702CB8#702CB8

#702CB8 is a mid, highly saturated violet. Relative luminance 0.087; OKLCH L 46.8% C 0.204 H 300.6°. Best body text is #FFFFFF at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#702CB8
RGBrgb(112, 44, 184)
HSLhsl(269, 61%, 45%)
HSVhsv(269, 76%, 72%)
CMYKcmyk(39.1%, 76.1%, 0%, 27.8%)
CIE-LABlab(35.41, 55.80, -61.60)
CIE-LCHlch(35.41, 83.12, 312.17°)
OKLaboklab(46.84% 0.1041 -0.176)
OKLCHoklch(46.84% 0.204 300.6)
XYZxyz(16.2324, 8.7067, 46.1635)
Luminance0.0871 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702CB8 #74B82C
analogous
#2C2EB8 #702CB8 #B62CB8
triadic
#702CB8 #B8702C #2CB870
tetradic
#702CB8 #B82C2E #74B82C #2CB8B6
square
#702CB8 #B82C2E #74B82C #2CB8B6
split-complementary
#702CB8 #B8B62C #2EB82C
monochromatic
#341455 #522087 #702CB8 #8F4DD4 #AE7EE0

Accessibility & contrast

On white

7.66
#702CB8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#702CB8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #702CB8
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702CB8#FFFFFF#000000##FFFFFF
##702CB81.007.662.747.66
#FFFFFF7.661.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053BC
Deuteranopia (green-blind)
#0052B5
Tritanopia (blue-blind)
#605171
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #702cb8;
/* rgb */ color: rgb(112, 44, 184);
/* oklch */ color: oklch(46.8% 0.204 300.6);
Tailwind
colors: {
  custom: {
    50: '#a06cce',
    500: '#702cb8',
    950: '#000000',
  },
}
SCSS
$custom: #702cb8;
$custom-light: #a06cce;
$custom-dark: #000000;
JSON
{
  "hex": "#702cb8",
  "rgb": {
    "r": 112,
    "g": 44,
    "b": 184
  },
  "hsl": {
    "h": 269.143,
    "s": 61.404,
    "l": 44.706
  },
  "oklch": {
    "l": 0.46844,
    "c": 0.20443,
    "h": 300.6
  },
  "luminance": 0.08707
}

Semantic roles & 50–950 ramp

primary
#702CB8
secondary
#A1C977
accent
#E54396
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#0F0714
muted
#7F7A82

Preview Lab

Preview with #702CB8

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

Preview Lab → · Contrast checker → · Palette generator →

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