#704DEC#704DEC

#704DEC is a mid, highly saturated violet. Relative luminance 0.148; OKLCH L 55.2% C 0.226 H 286.6°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#704DEC
RGBrgb(112, 77, 236)
HSLhsl(253, 81%, 61%)
HSVhsv(253, 67%, 93%)
CMYKcmyk(52.5%, 67.4%, 0%, 7.5%)
CIE-LABlab(45.37, 53.56, -75.34)
CIE-LCHlch(45.37, 92.44, 305.41°)
OKLaboklab(55.23% 0.0643 -0.2165)
OKLCHoklch(55.23% 0.226 286.6)
XYZxyz(24.4718, 14.8074, 80.9092)
Luminance0.1481 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704DEC #C9EC4D
analogous
#4D7AEC #704DEC #C04DEC
triadic
#704DEC #EC704D #4DEC70
tetradic
#704DEC #EC4D7A #C9EC4D #4DECC0
square
#704DEC #EC4D7A #C9EC4D #4DECC0
split-complementary
#704DEC #ECC04D #7AEC4D
monochromatic
#3412AC #4518E4 #704DEC #9C84F2 #C9BCF8

Accessibility & contrast

On white

5.30
#704DEC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#704DEC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #704DEC
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704DEC#FFFFFF#000000##FFFFFF
##704DEC1.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FF1
Deuteranopia (green-blind)
#0067E9
Tritanopia (blue-blind)
#3E7696
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #704dec;
/* rgb */ color: rgb(112, 77, 236);
/* oklch */ color: oklch(55.2% 0.226 286.6);
Tailwind
colors: {
  custom: {
    50: '#a481f3',
    500: '#704dec',
    950: '#000000',
  },
}
SCSS
$custom: #704dec;
$custom-light: #a481f3;
$custom-dark: #000000;
JSON
{
  "hex": "#704dec",
  "rgb": {
    "r": 112,
    "g": 77,
    "b": 236
  },
  "hsl": {
    "h": 253.208,
    "s": 80.711,
    "l": 61.373
  },
  "oklch": {
    "l": 0.55225,
    "c": 0.22582,
    "h": 286.6
  },
  "luminance": 0.14809
}

Semantic roles & 50–950 ramp

primary
#704DEC
secondary
#DBE8AD
accent
#DD08AE
background
#FAF8FF
surface
#F4EFFE
border
#CECAD6
text
#100A17
muted
#7F7C85

Preview Lab

Preview with #704DEC

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

Preview Lab → · Contrast checker → · Palette generator →

#704DEC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva