#702EB3#702EB3

#702EB3 is a mid, vivid violet. Relative luminance 0.087; OKLCH L 46.6% C 0.197 H 301.7°. Best body text is #FFFFFF at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#702EB3
RGBrgb(112, 46, 179)
HSLhsl(270, 59%, 44%)
HSVhsv(270, 74%, 70%)
CMYKcmyk(37.4%, 74.3%, 0%, 29.8%)
CIE-LABlab(35.31, 53.73, -58.81)
CIE-LCHlch(35.31, 79.66, 312.41°)
OKLaboklab(46.64% 0.1034 -0.1678)
OKLCHoklch(46.64% 0.197 301.7)
XYZxyz(15.7938, 8.6533, 43.4773)
Luminance0.0865 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702EB3 #71B32E
analogous
#2E2FB3 #702EB3 #B32EB3
triadic
#702EB3 #B3702E #2EB370
tetradic
#702EB3 #B32E2F #71B32E #2EB3B3
square
#702EB3 #B32E2F #71B32E #2EB3B3
split-complementary
#702EB3 #B3B32E #2FB32E
monochromatic
#331552 #522182 #702EB3 #8F4DD1 #AD7EDE

Accessibility & contrast

On white

7.69
#702EB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#702EB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #702EB3
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702EB3#FFFFFF#000000##FFFFFF
##702EB31.007.692.737.69
#FFFFFF7.691.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B7
Deuteranopia (green-blind)
#0052B0
Tritanopia (blue-blind)
#61506E
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #702eb3;
/* rgb */ color: rgb(112, 46, 179);
/* oklch */ color: oklch(46.6% 0.197 301.7);
Tailwind
colors: {
  custom: {
    50: '#9f6dcb',
    500: '#702eb3',
    950: '#000000',
  },
}
SCSS
$custom: #702eb3;
$custom-light: #9f6dcb;
$custom-dark: #000000;
JSON
{
  "hex": "#702eb3",
  "rgb": {
    "r": 112,
    "g": 46,
    "b": 179
  },
  "hsl": {
    "h": 269.774,
    "s": 59.111,
    "l": 44.118
  },
  "oklch": {
    "l": 0.46644,
    "c": 0.19709,
    "h": 301.7
  },
  "luminance": 0.08653
}

Semantic roles & 50–950 ramp

primary
#702EB3
secondary
#9FC676
accent
#E24694
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #702EB3

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

Preview Lab → · Contrast checker → · Palette generator →

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