#702FAF#702FAF

#702FAF is a mid, vivid violet. Relative luminance 0.086; OKLCH L 46.4% C 0.192 H 302.6°. Best body text is #FFFFFF at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#702FAF
RGBrgb(112, 47, 175)
HSLhsl(270, 58%, 44%)
HSVhsv(270, 73%, 69%)
CMYKcmyk(36%, 73.1%, 0%, 31.4%)
CIE-LABlab(35.15, 52.32, -56.69)
CIE-LCHlch(35.15, 77.14, 312.70°)
OKLaboklab(46.43% 0.1033 -0.1615)
OKLCHoklch(46.43% 0.192 302.6)
XYZxyz(15.4346, 8.5729, 41.3907)
Luminance0.0857 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702FAF #6EAF2F
analogous
#302FAF #702FAF #AF2FAE
triadic
#702FAF #AF702F #2FAF70
tetradic
#702FAF #AF302F #6EAF2F #2FAEAF
square
#702FAF #AF302F #6EAF2F #2FAEAF
split-complementary
#702FAF #AEAF2F #2FAF30
monochromatic
#32154F #51227F #702FAF #8F4CCF #AD7CDC

Accessibility & contrast

On white

7.74
#702FAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#702FAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #702FAF
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702FAF#FFFFFF#000000##FFFFFF
##702FAF1.007.742.717.74
#FFFFFF7.741.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B3
Deuteranopia (green-blind)
#0052AC
Tritanopia (blue-blind)
#634E6C
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #702faf;
/* rgb */ color: rgb(112, 47, 175);
/* oklch */ color: oklch(46.4% 0.192 302.6);
Tailwind
colors: {
  custom: {
    50: '#9f6ec8',
    500: '#702faf',
    950: '#000000',
  },
}
SCSS
$custom: #702faf;
$custom-light: #9f6ec8;
$custom-dark: #000000;
JSON
{
  "hex": "#702faf",
  "rgb": {
    "r": 112,
    "g": 47,
    "b": 175
  },
  "hsl": {
    "h": 270.469,
    "s": 57.658,
    "l": 43.529
  },
  "oklch": {
    "l": 0.46432,
    "c": 0.19176,
    "h": 302.6
  },
  "luminance": 0.08573
}

Semantic roles & 50–950 ramp

primary
#702FAF
secondary
#9CC475
accent
#E14793
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #702FAF

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

Preview Lab → · Contrast checker → · Palette generator →

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