#702BB0#702BB0

#702BB0 is a mid, vivid violet. Relative luminance 0.083; OKLCH L 46.1% C 0.197 H 302.8°. Best body text is #FFFFFF at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#702BB0
RGBrgb(112, 43, 176)
HSLhsl(271, 61%, 43%)
HSVhsv(271, 76%, 69%)
CMYKcmyk(36.4%, 75.6%, 0%, 31%)
CIE-LABlab(34.61, 54.30, -58.16)
CIE-LCHlch(34.61, 79.57, 313.04°)
OKLaboklab(46.08% 0.1069 -0.1658)
OKLCHoklch(46.08% 0.197 302.8)
XYZxyz(15.3806, 8.3071, 41.8590)
Luminance0.0831 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702BB0 #6BB02B
analogous
#2D2BB0 #702BB0 #B02BAD
triadic
#702BB0 #B0702B #2BB070
tetradic
#702BB0 #B02D2B #6BB02B #2BADB0
square
#702BB0 #B02D2B #6BB02B #2BADB0
split-complementary
#702BB0 #ADB02B #2BB02D
monochromatic
#31134E #511F7F #702BB0 #8F46D2 #AD78DE

Accessibility & contrast

On white

7.89
#702BB0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#702BB0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #702BB0
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702BB0#FFFFFF#000000##FFFFFF
##702BB01.007.892.667.89
#FFFFFF7.891.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B4
Deuteranopia (green-blind)
#0051AD
Tritanopia (blue-blind)
#634D6C
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #702bb0;
/* rgb */ color: rgb(112, 43, 176);
/* oklch */ color: oklch(46.1% 0.197 302.8);
Tailwind
colors: {
  custom: {
    50: '#9f6cc9',
    500: '#702bb0',
    950: '#000000',
  },
}
SCSS
$custom: #702bb0;
$custom-light: #9f6cc9;
$custom-dark: #000000;
JSON
{
  "hex": "#702bb0",
  "rgb": {
    "r": 112,
    "g": 43,
    "b": 176
  },
  "hsl": {
    "h": 271.128,
    "s": 60.731,
    "l": 42.941
  },
  "oklch": {
    "l": 0.4608,
    "c": 0.19727,
    "h": 302.8
  },
  "luminance": 0.08307
}

Semantic roles & 50–950 ramp

primary
#702BB0
secondary
#9AC671
accent
#E44491
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #702BB0

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

Preview Lab → · Contrast checker → · Palette generator →

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