#704FEA#704FEA

#704FEA is a mid, highly saturated violet. Relative luminance 0.150; OKLCH L 55.3% C 0.221 H 286.5°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#704FEA
RGBrgb(112, 79, 234)
HSLhsl(253, 79%, 61%)
HSVhsv(253, 66%, 92%)
CMYKcmyk(52.1%, 66.2%, 0%, 8.2%)
CIE-LABlab(45.60, 51.93, -73.84)
CIE-LCHlch(45.60, 90.27, 305.12°)
OKLaboklab(55.34% 0.0629 -0.212)
OKLCHoklch(55.34% 0.221 286.5)
XYZxyz(24.3249, 14.9760, 79.4349)
Luminance0.1498 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704FEA #C9EA4F
analogous
#4F7CEA #704FEA #BE4FEA
triadic
#704FEA #EA704F #4FEA70
tetradic
#704FEA #EA4F7C #C9EA4F #4FEABE
square
#704FEA #EA4F7C #C9EA4F #4FEABE
split-complementary
#704FEA #EABE4F #7CEA4F
monochromatic
#3414AA #451BE1 #704FEA #9C86F1 #C9BCF7

Accessibility & contrast

On white

5.26
#704FEA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#704FEA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #704FEA
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704FEA#FFFFFF#000000##FFFFFF
##704FEA1.005.264.005.26
#FFFFFF5.261.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070EF
Deuteranopia (green-blind)
#0067E7
Tritanopia (blue-blind)
#3F7696
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #704fea;
/* rgb */ color: rgb(112, 79, 234);
/* oklch */ color: oklch(55.3% 0.221 286.5);
Tailwind
colors: {
  custom: {
    50: '#a382f2',
    500: '#704fea',
    950: '#000000',
  },
}
SCSS
$custom: #704fea;
$custom-light: #a382f2;
$custom-dark: #000000;
JSON
{
  "hex": "#704fea",
  "rgb": {
    "r": 112,
    "g": 79,
    "b": 234
  },
  "hsl": {
    "h": 252.774,
    "s": 78.68,
    "l": 61.373
  },
  "oklch": {
    "l": 0.55342,
    "c": 0.22115,
    "h": 286.5
  },
  "luminance": 0.14977
}

Semantic roles & 50–950 ramp

primary
#704FEA
secondary
#DBE7AD
accent
#DB0BAF
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #704FEA

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

Preview Lab → · Contrast checker → · Palette generator →

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