#702E9E#702E9E

#702E9E is a mid, vivid violet. Relative luminance 0.079; OKLCH L 45.0% C 0.175 H 307.8°. Best body text is #FFFFFF at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#702E9E
RGBrgb(112, 46, 158)
HSLhsl(275, 55%, 40%)
HSVhsv(275, 71%, 62%)
CMYKcmyk(29.1%, 70.9%, 0%, 38%)
CIE-LABlab(33.71, 48.73, -48.82)
CIE-LCHlch(33.71, 68.98, 314.95°)
OKLaboklab(45% 0.1072 -0.1384)
OKLCHoklch(45% 0.175 307.8)
XYZxyz(13.8294, 7.8676, 33.1312)
Luminance0.0787 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702E9E #5C9E2E
analogous
#382E9E #702E9E #9E2E94
triadic
#702E9E #9E702E #2E9E70
tetradic
#702E9E #9E382E #5C9E2E #2E949E
square
#702E9E #9E382E #5C9E2E #2E949E
split-complementary
#702E9E #949E2E #2E9E38
monochromatic
#2D123F #4E206F #702E9E #9141C8 #AC71D6

Accessibility & contrast

On white

8.16
#702E9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#702E9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #702E9E
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702E9E#FFFFFF#000000##FFFFFF
##702E9E1.008.162.578.16
#FFFFFF8.161.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA1
Deuteranopia (green-blind)
#10509C
Tritanopia (blue-blind)
#694763
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #702e9e;
/* rgb */ color: rgb(112, 46, 158);
/* oklch */ color: oklch(45.0% 0.175 307.8);
Tailwind
colors: {
  custom: {
    50: '#9d6cbb',
    500: '#702e9e',
    950: '#000000',
  },
}
SCSS
$custom: #702e9e;
$custom-light: #9d6cbb;
$custom-dark: #000000;
JSON
{
  "hex": "#702e9e",
  "rgb": {
    "r": 112,
    "g": 46,
    "b": 158
  },
  "hsl": {
    "h": 275.357,
    "s": 54.902,
    "l": 40
  },
  "oklch": {
    "l": 0.45004,
    "c": 0.17507,
    "h": 307.8
  },
  "luminance": 0.07867
}

Semantic roles & 50–950 ramp

primary
#702E9E
secondary
#8DBD6B
accent
#DE4A87
background
#FAF6FB
surface
#F3ECF6
border
#CDC7D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #702E9E

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

Preview Lab → · Contrast checker → · Palette generator →

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