#704EDC#704EDC

#704EDC is a mid, highly saturated violet. Relative luminance 0.141; OKLCH L 54.1% C 0.206 H 288.6°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#704EDC
RGBrgb(112, 78, 220)
HSLhsl(254, 67%, 58%)
HSVhsv(254, 65%, 86%)
CMYKcmyk(49.1%, 64.5%, 0%, 13.7%)
CIE-LABlab(44.32, 48.49, -67.98)
CIE-LCHlch(44.32, 83.50, 305.50°)
OKLaboklab(54.08% 0.0655 -0.1948)
OKLCHoklch(54.08% 0.206 288.6)
XYZxyz(22.3210, 14.0599, 69.2340)
Luminance0.1406 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704EDC #BADC4E
analogous
#4E73DC #704EDC #B74EDC
triadic
#704EDC #DC704E #4EDC70
tetradic
#704EDC #DC4E73 #BADC4E #4EDCB7
square
#704EDC #DC4E73 #BADC4E #4EDCB7
split-complementary
#704EDC #DCB74E #73DC4E
monochromatic
#391D93 #4D27C6 #704EDC #9981E6 #C3B4F0

Accessibility & contrast

On white

5.51
#704EDC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#704EDC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #704EDC
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704EDC#FFFFFF#000000##FFFFFF
##704EDC1.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CE0
Deuteranopia (green-blind)
#0065D9
Tritanopia (blue-blind)
#4B718E
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #704edc;
/* rgb */ color: rgb(112, 78, 220);
/* oklch */ color: oklch(54.1% 0.206 288.6);
Tailwind
colors: {
  custom: {
    50: '#a281e8',
    500: '#704edc',
    950: '#000000',
  },
}
SCSS
$custom: #704edc;
$custom-light: #a281e8;
$custom-dark: #000000;
JSON
{
  "hex": "#704edc",
  "rgb": {
    "r": 112,
    "g": 78,
    "b": 220
  },
  "hsl": {
    "h": 254.366,
    "s": 66.981,
    "l": 58.431
  },
  "oklch": {
    "l": 0.5408,
    "c": 0.20556,
    "h": 288.6
  },
  "luminance": 0.14061
}

Semantic roles & 50–950 ramp

primary
#704EDC
secondary
#D2DFA7
accent
#EA3EC1
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #704EDC

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

Preview Lab → · Contrast checker → · Palette generator →

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