#702CAF#702CAF

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

Color values

HEX#702CAF
RGBrgb(112, 44, 175)
HSLhsl(271, 60%, 43%)
HSVhsv(271, 75%, 69%)
CMYKcmyk(36%, 74.9%, 0%, 31.4%)
CIE-LABlab(34.68, 53.64, -57.45)
CIE-LCHlch(34.68, 78.60, 313.03°)
OKLaboklab(46.1% 0.1062 -0.1638)
OKLCHoklch(46.1% 0.195 303)
XYZxyz(15.3188, 8.3412, 41.3521)
Luminance0.0834 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702CAF #6BAF2C
analogous
#2F2CAF #702CAF #AF2CAC
triadic
#702CAF #AF702C #2CAF70
tetradic
#702CAF #AF2F2C #6BAF2C #2CACAF
square
#702CAF #AF2F2C #6BAF2C #2CACAF
split-complementary
#702CAF #ACAF2C #2CAF2F
monochromatic
#31134D #51207E #702CAF #8F47D1 #AD78DD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##702CAF#FFFFFF#000000##FFFFFF
##702CAF1.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)
#0050B3
Deuteranopia (green-blind)
#0051AC
Tritanopia (blue-blind)
#634D6B
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #702caf;
/* rgb */ color: rgb(112, 44, 175);
/* oklch */ color: oklch(46.1% 0.195 303.0);
Tailwind
colors: {
  custom: {
    50: '#9f6cc8',
    500: '#702caf',
    950: '#000000',
  },
}
SCSS
$custom: #702caf;
$custom-light: #9f6cc8;
$custom-dark: #000000;
JSON
{
  "hex": "#702caf",
  "rgb": {
    "r": 112,
    "g": 44,
    "b": 175
  },
  "hsl": {
    "h": 271.145,
    "s": 59.817,
    "l": 42.941
  },
  "oklch": {
    "l": 0.46104,
    "c": 0.19516,
    "h": 303
  },
  "luminance": 0.08341
}

Semantic roles & 50–950 ramp

primary
#702CAF
secondary
#9AC572
accent
#E34591
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #702CAF

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

Preview Lab → · Contrast checker → · Palette generator →

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