#702DAF#702DAF

#702DAF is a mid, vivid violet. Relative luminance 0.084; OKLCH L 46.2% C 0.194 H 302.8°. Best body text is #FFFFFF at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#702DAF
RGBrgb(112, 45, 175)
HSLhsl(271, 59%, 43%)
HSVhsv(271, 74%, 69%)
CMYKcmyk(36%, 74.3%, 0%, 31.4%)
CIE-LABlab(34.84, 53.21, -57.20)
CIE-LCHlch(34.84, 78.12, 312.93°)
OKLaboklab(46.21% 0.1052 -0.163)
OKLCHoklch(46.21% 0.194 302.8)
XYZxyz(15.3565, 8.4166, 41.3647)
Luminance0.0842 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702DAF #6CAF2D
analogous
#2F2DAF #702DAF #AF2DAD
triadic
#702DAF #AF702D #2DAF70
tetradic
#702DAF #AF2F2D #6CAF2D #2DADAF
square
#702DAF #AF2F2D #6CAF2D #2DADAF
split-complementary
#702DAF #ADAF2D #2DAF2F
monochromatic
#32144E #51207E #702DAF #8F49D0 #AD7ADD

Accessibility & contrast

On white

7.83
#702DAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#702DAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #702DAF
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702DAF#FFFFFF#000000##FFFFFF
##702DAF1.007.832.687.83
#FFFFFF7.831.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B3
Deuteranopia (green-blind)
#0052AC
Tritanopia (blue-blind)
#634D6C
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #702daf;
/* rgb */ color: rgb(112, 45, 175);
/* oklch */ color: oklch(46.2% 0.194 302.8);
Tailwind
colors: {
  custom: {
    50: '#9f6dc8',
    500: '#702daf',
    950: '#000000',
  },
}
SCSS
$custom: #702daf;
$custom-light: #9f6dc8;
$custom-dark: #000000;
JSON
{
  "hex": "#702daf",
  "rgb": {
    "r": 112,
    "g": 45,
    "b": 175
  },
  "hsl": {
    "h": 270.923,
    "s": 59.091,
    "l": 43.137
  },
  "oklch": {
    "l": 0.46211,
    "c": 0.19404,
    "h": 302.8
  },
  "luminance": 0.08417
}

Semantic roles & 50–950 ramp

primary
#702DAF
secondary
#9BC573
accent
#E24691
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #702DAF

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

Preview Lab → · Contrast checker → · Palette generator →

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