#704FCE#704FCE

#704FCE is a mid, vivid violet. Relative luminance 0.135; OKLCH L 53.2% C 0.187 H 290.6°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#704FCE
RGBrgb(112, 79, 206)
HSLhsl(256, 56%, 56%)
HSVhsv(256, 62%, 81%)
CMYKcmyk(45.6%, 61.7%, 0%, 19.2%)
CIE-LABlab(43.50, 43.97, -61.30)
CIE-LCHlch(43.50, 75.44, 305.65°)
OKLaboklab(53.16% 0.0658 -0.1752)
OKLCHoklch(53.16% 0.187 290.6)
XYZxyz(20.6155, 13.4922, 59.8986)
Luminance0.1349 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704FCE #ADCE4F
analogous
#4F6DCE #704FCE #B04FCE
triadic
#704FCE #CE704F #4FCE70
tetradic
#704FCE #CE4F6D #ADCE4F #4FCEB0
square
#704FCE #CE4F6D #ADCE4F #4FCEB0
split-complementary
#704FCE #CEB04F #6DCE4F
monochromatic
#3B237F #5231AF #704FCE #977FDB #BEAFE9

Accessibility & contrast

On white

5.68
#704FCE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#704FCE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #704FCE
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704FCE#FFFFFF#000000##FFFFFF
##704FCE1.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D2
Deuteranopia (green-blind)
#0064CB
Tritanopia (blue-blind)
#536C87
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #704fce;
/* rgb */ color: rgb(112, 79, 206);
/* oklch */ color: oklch(53.2% 0.187 290.6);
Tailwind
colors: {
  custom: {
    50: '#a082de',
    500: '#704fce',
    950: '#000000',
  },
}
SCSS
$custom: #704fce;
$custom-light: #a082de;
$custom-dark: #000000;
JSON
{
  "hex": "#704fce",
  "rgb": {
    "r": 112,
    "g": 79,
    "b": 206
  },
  "hsl": {
    "h": 255.591,
    "s": 56.444,
    "l": 55.882
  },
  "oklch": {
    "l": 0.53158,
    "c": 0.18712,
    "h": 290.6
  },
  "luminance": 0.13493
}

Semantic roles & 50–950 ramp

primary
#704FCE
secondary
#C9D7A2
accent
#E048B8
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #704FCE

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

Preview Lab → · Contrast checker → · Palette generator →

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