#702BB1#702BB1

#702BB1 is a mid, vivid violet. Relative luminance 0.083; OKLCH L 46.2% C 0.198 H 302.5°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#702BB1
RGBrgb(112, 43, 177)
HSLhsl(271, 61%, 43%)
HSVhsv(271, 76%, 69%)
CMYKcmyk(36.7%, 75.7%, 0%, 30.6%)
CIE-LABlab(34.69, 54.54, -58.62)
CIE-LCHlch(34.69, 80.07, 312.93°)
OKLaboklab(46.16% 0.1066 -0.1672)
OKLCHoklch(46.16% 0.198 302.5)
XYZxyz(15.4799, 8.3468, 42.3820)
Luminance0.0835 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702BB1 #6CB12B
analogous
#2D2BB1 #702BB1 #B12BAF
triadic
#702BB1 #B1702B #2BB170
tetradic
#702BB1 #B12D2B #6CB12B #2BAFB1
square
#702BB1 #B12D2B #6CB12B #2BAFB1
split-complementary
#702BB1 #AFB12B #2BB12D
monochromatic
#32134F #511F80 #702BB1 #8F47D2 #AD78DE

Accessibility & contrast

On white

7.87
#702BB1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#702BB1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #702BB1
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702BB1#FFFFFF#000000##FFFFFF
##702BB11.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B5
Deuteranopia (green-blind)
#0051AE
Tritanopia (blue-blind)
#624D6C
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #702bb1;
/* rgb */ color: rgb(112, 43, 177);
/* oklch */ color: oklch(46.2% 0.198 302.5);
Tailwind
colors: {
  custom: {
    50: '#9f6cc9',
    500: '#702bb1',
    950: '#000000',
  },
}
SCSS
$custom: #702bb1;
$custom-light: #9f6cc9;
$custom-dark: #000000;
JSON
{
  "hex": "#702bb1",
  "rgb": {
    "r": 112,
    "g": 43,
    "b": 177
  },
  "hsl": {
    "h": 270.896,
    "s": 60.909,
    "l": 43.137
  },
  "oklch": {
    "l": 0.46162,
    "c": 0.1983,
    "h": 302.5
  },
  "luminance": 0.08347
}

Semantic roles & 50–950 ramp

primary
#702BB1
secondary
#9BC672
accent
#E44492
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #702BB1

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

Preview Lab → · Contrast checker → · Palette generator →

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