#702FB6#702FB6

#702FB6 is a mid, vivid violet. Relative luminance 0.089; OKLCH L 47.0% C 0.199 H 300.8°. Best body text is #FFFFFF at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#702FB6
RGBrgb(112, 47, 182)
HSLhsl(269, 59%, 45%)
HSVhsv(269, 74%, 71%)
CMYKcmyk(38.5%, 74.2%, 0%, 28.6%)
CIE-LABlab(35.70, 54.02, -59.95)
CIE-LCHlch(35.70, 80.70, 312.02°)
OKLaboklab(47% 0.1019 -0.1711)
OKLCHoklch(47% 0.199 300.8)
XYZxyz(16.1400, 8.8550, 45.1058)
Luminance0.0886 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702FB6 #75B62F
analogous
#2F31B6 #702FB6 #B42FB6
triadic
#702FB6 #B6702F #2FB670
tetradic
#702FB6 #B62F31 #75B62F #2FB6B4
square
#702FB6 #B62F31 #75B62F #2FB6B4
split-complementary
#702FB6 #B6B42F #31B62F
monochromatic
#341655 #522285 #702FB6 #8F50D2 #AE81DE

Accessibility & contrast

On white

7.58
#702FB6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#702FB6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #702FB6
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702FB6#FFFFFF#000000##FFFFFF
##702FB61.007.582.777.58
#FFFFFF7.581.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053BA
Deuteranopia (green-blind)
#0053B3
Tritanopia (blue-blind)
#605170
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #702fb6;
/* rgb */ color: rgb(112, 47, 182);
/* oklch */ color: oklch(47.0% 0.199 300.8);
Tailwind
colors: {
  custom: {
    50: '#9f6ecd',
    500: '#702fb6',
    950: '#000000',
  },
}
SCSS
$custom: #702fb6;
$custom-light: #9f6ecd;
$custom-dark: #000000;
JSON
{
  "hex": "#702fb6",
  "rgb": {
    "r": 112,
    "g": 47,
    "b": 182
  },
  "hsl": {
    "h": 268.889,
    "s": 58.952,
    "l": 44.902
  },
  "oklch": {
    "l": 0.46998,
    "c": 0.19913,
    "h": 300.8
  },
  "luminance": 0.08855
}

Semantic roles & 50–950 ramp

primary
#702FB6
secondary
#A2C779
accent
#E24697
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#0F0814
muted
#7F7B82

Preview Lab

Preview with #702FB6

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

Preview Lab → · Contrast checker → · Palette generator →

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