#702BB3#702BB3

#702BB3 is a mid, highly saturated violet. Relative luminance 0.084; OKLCH L 46.3% C 0.200 H 302.0°. Best body text is #FFFFFF at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#702BB3
RGBrgb(112, 43, 179)
HSLhsl(270, 61%, 44%)
HSVhsv(270, 76%, 70%)
CMYKcmyk(37.4%, 76%, 0%, 29.8%)
CIE-LABlab(34.86, 55.02, -59.55)
CIE-LCHlch(34.86, 81.07, 312.74°)
OKLaboklab(46.33% 0.1062 -0.1699)
OKLCHoklch(46.33% 0.2 302)
XYZxyz(15.6807, 8.4271, 43.4396)
Luminance0.0843 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702BB3 #6EB32B
analogous
#2C2BB3 #702BB3 #B32BB2
triadic
#702BB3 #B3702B #2BB370
tetradic
#702BB3 #B32C2B #6EB32B #2BB2B3
square
#702BB3 #B32C2B #6EB32B #2BB2B3
split-complementary
#702BB3 #B2B32B #2BB32C
monochromatic
#321350 #511F82 #702BB3 #8F48D3 #AD79DF

Accessibility & contrast

On white

7.82
#702BB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#702BB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #702BB3
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702BB3#FFFFFF#000000##FFFFFF
##702BB31.007.822.697.82
#FFFFFF7.821.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B7
Deuteranopia (green-blind)
#0051B0
Tritanopia (blue-blind)
#624E6E
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #702bb3;
/* rgb */ color: rgb(112, 43, 179);
/* oklch */ color: oklch(46.3% 0.200 302.0);
Tailwind
colors: {
  custom: {
    50: '#9f6ccb',
    500: '#702bb3',
    950: '#000000',
  },
}
SCSS
$custom: #702bb3;
$custom-light: #9f6ccb;
$custom-dark: #000000;
JSON
{
  "hex": "#702bb3",
  "rgb": {
    "r": 112,
    "g": 43,
    "b": 179
  },
  "hsl": {
    "h": 270.441,
    "s": 61.261,
    "l": 43.529
  },
  "oklch": {
    "l": 0.46326,
    "c": 0.20034,
    "h": 302
  },
  "luminance": 0.08427
}

Semantic roles & 50–950 ramp

primary
#702BB3
secondary
#9CC773
accent
#E44393
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #702BB3

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

Preview Lab → · Contrast checker → · Palette generator →

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