#702BB6#702BB6

#702BB6 is a mid, highly saturated violet. Relative luminance 0.086; OKLCH L 46.6% C 0.203 H 301.2°. Best body text is #FFFFFF at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#702BB6
RGBrgb(112, 43, 182)
HSLhsl(270, 62%, 44%)
HSVhsv(270, 76%, 71%)
CMYKcmyk(38.5%, 76.4%, 0%, 28.6%)
CIE-LABlab(35.10, 55.73, -60.93)
CIE-LCHlch(35.10, 82.57, 312.45°)
OKLaboklab(46.58% 0.1054 -0.174)
OKLCHoklch(46.58% 0.203 301.2)
XYZxyz(15.9874, 8.5498, 45.0549)
Luminance0.0855 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702BB6 #71B62B
analogous
#2B2CB6 #702BB6 #B62BB6
triadic
#702BB6 #B6702B #2BB670
tetradic
#702BB6 #B62B2C #71B62B #2BB6B6
square
#702BB6 #B62B2C #71B62B #2BB6B6
split-complementary
#702BB6 #B6B62B #2CB62B
monochromatic
#331453 #521F84 #702BB6 #8F4AD4 #AD7BE0

Accessibility & contrast

On white

7.75
#702BB6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#702BB6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #702BB6
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702BB6#FFFFFF#000000##FFFFFF
##702BB61.007.752.717.75
#FFFFFF7.751.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052BA
Deuteranopia (green-blind)
#0052B3
Tritanopia (blue-blind)
#604F6F
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #702bb6;
/* rgb */ color: rgb(112, 43, 182);
/* oklch */ color: oklch(46.6% 0.203 301.2);
Tailwind
colors: {
  custom: {
    50: '#9f6ccd',
    500: '#702bb6',
    950: '#000000',
  },
}
SCSS
$custom: #702bb6;
$custom-light: #9f6ccd;
$custom-dark: #000000;
JSON
{
  "hex": "#702bb6",
  "rgb": {
    "r": 112,
    "g": 43,
    "b": 182
  },
  "hsl": {
    "h": 269.784,
    "s": 61.778,
    "l": 44.118
  },
  "oklch": {
    "l": 0.46575,
    "c": 0.20342,
    "h": 301.2
  },
  "luminance": 0.0855
}

Semantic roles & 50–950 ramp

primary
#702BB6
secondary
#9FC875
accent
#E54394
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#0F0714
muted
#7F7A82

Preview Lab

Preview with #702BB6

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

Preview Lab → · Contrast checker → · Palette generator →

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