#702FB5#702FB5

#702FB5 is a mid, vivid violet. Relative luminance 0.088; OKLCH L 46.9% C 0.198 H 301.0°. Best body text is #FFFFFF at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#702FB5
RGBrgb(112, 47, 181)
HSLhsl(269, 59%, 45%)
HSVhsv(269, 74%, 71%)
CMYKcmyk(38.1%, 74%, 0%, 29%)
CIE-LABlab(35.62, 53.78, -59.49)
CIE-LCHlch(35.62, 80.19, 312.11°)
OKLaboklab(46.92% 0.1021 -0.1698)
OKLCHoklch(46.92% 0.198 301)
XYZxyz(16.0371, 8.8139, 44.5634)
Luminance0.0881 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702FB5 #74B52F
analogous
#2F31B5 #702FB5 #B32FB5
triadic
#702FB5 #B5702F #2FB570
tetradic
#702FB5 #B52F31 #74B52F #2FB5B3
square
#702FB5 #B52F31 #74B52F #2FB5B3
split-complementary
#702FB5 #B5B32F #31B52F
monochromatic
#341654 #522284 #702FB5 #8F50D1 #AE80DE

Accessibility & contrast

On white

7.60
#702FB5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#702FB5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #702FB5
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702FB5#FFFFFF#000000##FFFFFF
##702FB51.007.602.767.60
#FFFFFF7.601.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B9
Deuteranopia (green-blind)
#0053B2
Tritanopia (blue-blind)
#615170
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #702fb5;
/* rgb */ color: rgb(112, 47, 181);
/* oklch */ color: oklch(46.9% 0.198 301.0);
Tailwind
colors: {
  custom: {
    50: '#9f6ecc',
    500: '#702fb5',
    950: '#000000',
  },
}
SCSS
$custom: #702fb5;
$custom-light: #9f6ecc;
$custom-dark: #000000;
JSON
{
  "hex": "#702fb5",
  "rgb": {
    "r": 112,
    "g": 47,
    "b": 181
  },
  "hsl": {
    "h": 269.104,
    "s": 58.772,
    "l": 44.706
  },
  "oklch": {
    "l": 0.46916,
    "c": 0.19808,
    "h": 301
  },
  "luminance": 0.08814
}

Semantic roles & 50–950 ramp

primary
#702FB5
secondary
#A1C779
accent
#E24696
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #702FB5

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

Preview Lab → · Contrast checker → · Palette generator →

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