#70408C#70408C

#70408C is a mid, vivid violet. Relative luminance 0.090; OKLCH L 46.3% C 0.128 H 311.6°. Best body text is #FFFFFF at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#70408C
RGBrgb(112, 64, 140)
HSLhsl(278, 37%, 40%)
HSVhsv(278, 54%, 55%)
CMYKcmyk(20%, 54.3%, 0%, 45.1%)
CIE-LABlab(35.99, 35.13, -34.19)
CIE-LCHlch(35.99, 49.02, 315.78°)
OKLaboklab(46.29% 0.0848 -0.0956)
OKLCHoklch(46.29% 0.128 311.6)
XYZxyz(13.2483, 9.0053, 25.8461)
Luminance0.0901 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#70408C #5C8C40
analogous
#4A408C #70408C #8C4082
triadic
#70408C #8C7040 #408C70
tetradic
#70408C #8C4A40 #5C8C40 #40828C
square
#70408C #8C4A40 #5C8C40 #40828C
split-complementary
#70408C #828C40 #408C4A
monochromatic
#2D1A38 #4E2D62 #70408C #9157B2 #AC81C5

Accessibility & contrast

On white

7.50
#70408C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#70408C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #70408C
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##70408C#FFFFFF#000000##FFFFFF
##70408C1.007.502.807.50
#FFFFFF7.501.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C528F
Deuteranopia (green-blind)
#3B568A
Tritanopia (blue-blind)
#6D4D60
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #70408c;
/* rgb */ color: rgb(112, 64, 140);
/* oklch */ color: oklch(46.3% 0.128 311.6);
Tailwind
colors: {
  custom: {
    50: '#9b77ae',
    500: '#70408c',
    950: '#000000',
  },
}
SCSS
$custom: #70408c;
$custom-light: #9b77ae;
$custom-dark: #000000;
JSON
{
  "hex": "#70408c",
  "rgb": {
    "r": 112,
    "g": 64,
    "b": 140
  },
  "hsl": {
    "h": 277.895,
    "s": 37.255,
    "l": 40
  },
  "oklch": {
    "l": 0.46294,
    "c": 0.12779,
    "h": 311.6
  },
  "luminance": 0.09005
}

Semantic roles & 50–950 ramp

primary
#70408C
secondary
#8DB078
accent
#CD5B85
background
#F9F7FA
surface
#F2EDF4
border
#CCC8CE
text
#0E0910
muted
#7E7B7F

Preview Lab

Preview with #70408C

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

Preview Lab → · Contrast checker → · Palette generator →

#70408C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva