#702BB9#702BB9

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

Color values

HEX#702BB9
RGBrgb(112, 43, 185)
HSLhsl(269, 62%, 45%)
HSVhsv(269, 77%, 73%)
CMYKcmyk(39.5%, 76.8%, 0%, 27.5%)
CIE-LABlab(35.35, 56.46, -62.30)
CIE-LCHlch(35.35, 84.07, 312.18°)
OKLaboklab(46.83% 0.1047 -0.178)
OKLCHoklch(46.83% 0.206 300.5)
XYZxyz(16.3007, 8.6751, 46.7052)
Luminance0.0867 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702BB9 #74B92B
analogous
#2B2DB9 #702BB9 #B72BB9
triadic
#702BB9 #B9702B #2BB970
tetradic
#702BB9 #B92B2D #74B92B #2BB9B7
square
#702BB9 #B92B2D #74B92B #2BB9B7
split-complementary
#702BB9 #B9B72B #2DB92B
monochromatic
#341456 #521F87 #702BB9 #8F4CD5 #AE7EE1

Accessibility & contrast

On white

7.68
#702BB9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#702BB9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #702BB9
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702BB9#FFFFFF#000000##FFFFFF
##702BB91.007.682.737.68
#FFFFFF7.681.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.681.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: #702bb9;
/* rgb */ color: rgb(112, 43, 185);
/* oklch */ color: oklch(46.8% 0.206 300.5);
Tailwind
colors: {
  custom: {
    50: '#a06ccf',
    500: '#702bb9',
    950: '#000000',
  },
}
SCSS
$custom: #702bb9;
$custom-light: #a06ccf;
$custom-dark: #000000;
JSON
{
  "hex": "#702bb9",
  "rgb": {
    "r": 112,
    "g": 43,
    "b": 185
  },
  "hsl": {
    "h": 269.155,
    "s": 62.281,
    "l": 44.706
  },
  "oklch": {
    "l": 0.46826,
    "c": 0.20648,
    "h": 300.5
  },
  "luminance": 0.08675
}

Semantic roles & 50–950 ramp

primary
#702BB9
secondary
#A1C976
accent
#E54296
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#0F0714
muted
#7F7A82

Preview Lab

Preview with #702BB9

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

Preview Lab → · Contrast checker → · Palette generator →

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