#702E9F#702E9F

#702E9F is a mid, vivid violet. Relative luminance 0.079; OKLCH L 45.1% C 0.176 H 307.4°. Best body text is #FFFFFF at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#702E9F
RGBrgb(112, 46, 159)
HSLhsl(275, 55%, 40%)
HSVhsv(275, 71%, 62%)
CMYKcmyk(29.6%, 71.1%, 0%, 37.6%)
CIE-LABlab(33.78, 48.97, -49.31)
CIE-LCHlch(33.78, 69.49, 314.80°)
OKLaboklab(45.08% 0.1071 -0.1398)
OKLCHoklch(45.08% 0.176 307.4)
XYZxyz(13.9158, 7.9021, 33.5863)
Luminance0.0790 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702E9F #5D9F2E
analogous
#372E9F #702E9F #9F2E96
triadic
#702E9F #9F702E #2E9F70
tetradic
#702E9F #9F372E #5D9F2E #2E969F
square
#702E9F #9F372E #5D9F2E #2E969F
split-complementary
#702E9F #969F2E #2E9F37
monochromatic
#2D1340 #4F2070 #702E9F #9042C8 #AC71D6

Accessibility & contrast

On white

8.14
#702E9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#702E9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #702E9F
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702E9F#FFFFFF#000000##FFFFFF
##702E9F1.008.142.588.14
#FFFFFF8.141.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA2
Deuteranopia (green-blind)
#0D509D
Tritanopia (blue-blind)
#684763
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #702e9f;
/* rgb */ color: rgb(112, 46, 159);
/* oklch */ color: oklch(45.1% 0.176 307.4);
Tailwind
colors: {
  custom: {
    50: '#9d6cbc',
    500: '#702e9f',
    950: '#000000',
  },
}
SCSS
$custom: #702e9f;
$custom-light: #9d6cbc;
$custom-dark: #000000;
JSON
{
  "hex": "#702e9f",
  "rgb": {
    "r": 112,
    "g": 46,
    "b": 159
  },
  "hsl": {
    "h": 275.044,
    "s": 55.122,
    "l": 40.196
  },
  "oklch": {
    "l": 0.45079,
    "c": 0.17612,
    "h": 307.4
  },
  "luminance": 0.07902
}

Semantic roles & 50–950 ramp

primary
#702E9F
secondary
#8DBE6B
accent
#DE4987
background
#FAF6FB
surface
#F3ECF6
border
#CDC7D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #702E9F

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

Preview Lab → · Contrast checker → · Palette generator →

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