#702CB9#702CB9

#702CB9 is a mid, highly saturated violet. Relative luminance 0.087; OKLCH L 46.9% C 0.205 H 300.3°. Best body text is #FFFFFF at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#702CB9
RGBrgb(112, 44, 185)
HSLhsl(269, 62%, 45%)
HSVhsv(269, 76%, 73%)
CMYKcmyk(39.5%, 76.2%, 0%, 27.5%)
CIE-LABlab(35.50, 56.04, -62.06)
CIE-LCHlch(35.50, 83.62, 312.08°)
OKLaboklab(46.93% 0.1038 -0.1773)
OKLCHoklch(46.93% 0.205 300.3)
XYZxyz(16.3376, 8.7487, 46.7175)
Luminance0.0875 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702CB9 #75B92C
analogous
#2C2FB9 #702CB9 #B62CB9
triadic
#702CB9 #B9702C #2CB970
tetradic
#702CB9 #B92C2F #75B92C #2CB9B6
square
#702CB9 #B92C2F #75B92C #2CB9B6
split-complementary
#702CB9 #B9B62C #2FB92C
monochromatic
#341456 #522088 #702CB9 #8F4DD5 #AE7FE1

Accessibility & contrast

On white

7.64
#702CB9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#702CB9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #702CB9
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702CB9#FFFFFF#000000##FFFFFF
##702CB91.007.642.757.64
#FFFFFF7.641.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053BD
Deuteranopia (green-blind)
#0052B6
Tritanopia (blue-blind)
#5F5171
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #702cb9;
/* rgb */ color: rgb(112, 44, 185);
/* oklch */ color: oklch(46.9% 0.205 300.3);
Tailwind
colors: {
  custom: {
    50: '#a06dcf',
    500: '#702cb9',
    950: '#000000',
  },
}
SCSS
$custom: #702cb9;
$custom-light: #a06dcf;
$custom-dark: #000000;
JSON
{
  "hex": "#702cb9",
  "rgb": {
    "r": 112,
    "g": 44,
    "b": 185
  },
  "hsl": {
    "h": 268.936,
    "s": 61.572,
    "l": 44.902
  },
  "oklch": {
    "l": 0.46927,
    "c": 0.20546,
    "h": 300.3
  },
  "luminance": 0.08749
}

Semantic roles & 50–950 ramp

primary
#702CB9
secondary
#A2C978
accent
#E54397
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#0F0714
muted
#7F7A82

Preview Lab

Preview with #702CB9

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

Preview Lab → · Contrast checker → · Palette generator →

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