#704FE3#704FE3

#704FE3 is a mid, highly saturated violet. Relative luminance 0.146; OKLCH L 54.8% C 0.213 H 287.4°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#704FE3
RGBrgb(112, 79, 227)
HSLhsl(253, 73%, 60%)
HSVhsv(253, 65%, 89%)
CMYKcmyk(50.7%, 65.2%, 0%, 11%)
CIE-LABlab(45.06, 49.93, -70.76)
CIE-LCHlch(45.06, 86.61, 305.21°)
OKLaboklab(54.78% 0.0638 -0.203)
OKLCHoklch(54.78% 0.213 287.4)
XYZxyz(23.3391, 14.5816, 74.2429)
Luminance0.1458 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704FE3 #C2E34F
analogous
#4F78E3 #704FE3 #BA4FE3
triadic
#704FE3 #E3704F #4FE370
tetradic
#704FE3 #E34F78 #C2E34F #4FE3BA
square
#704FE3 #E34F78 #C2E34F #4FE3BA
split-complementary
#704FE3 #E3BA4F #78E34F
monochromatic
#37199E #4922D3 #704FE3 #9B84EB #C6B9F4

Accessibility & contrast

On white

5.36
#704FE3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#704FE3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #704FE3
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704FE3#FFFFFF#000000##FFFFFF
##704FE31.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EE8
Deuteranopia (green-blind)
#0067E0
Tritanopia (blue-blind)
#457492
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #704fe3;
/* rgb */ color: rgb(112, 79, 227);
/* oklch */ color: oklch(54.8% 0.213 287.4);
Tailwind
colors: {
  custom: {
    50: '#a282ed',
    500: '#704fe3',
    950: '#000000',
  },
}
SCSS
$custom: #704fe3;
$custom-light: #a282ed;
$custom-dark: #000000;
JSON
{
  "hex": "#704fe3",
  "rgb": {
    "r": 112,
    "g": 79,
    "b": 227
  },
  "hsl": {
    "h": 253.378,
    "s": 72.549,
    "l": 60
  },
  "oklch": {
    "l": 0.54779,
    "c": 0.21279,
    "h": 287.4
  },
  "luminance": 0.14583
}

Semantic roles & 50–950 ramp

primary
#704FE3
secondary
#D7E3AA
accent
#EF39C7
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #704FE3

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

Preview Lab → · Contrast checker → · Palette generator →

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