#704FCA#704FCA

#704FCA is a mid, vivid violet. Relative luminance 0.133; OKLCH L 52.9% C 0.182 H 291.2°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#704FCA
RGBrgb(112, 79, 202)
HSLhsl(256, 54%, 55%)
HSVhsv(256, 61%, 79%)
CMYKcmyk(44.6%, 60.9%, 0%, 20.8%)
CIE-LABlab(43.21, 42.84, -59.45)
CIE-LCHlch(43.21, 73.28, 305.78°)
OKLaboklab(52.86% 0.066 -0.1697)
OKLCHoklch(52.86% 0.182 291.2)
XYZxyz(20.1358, 13.3003, 57.3719)
Luminance0.1330 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704FCA #A9CA4F
analogous
#4F6BCA #704FCA #AE4FCA
triadic
#704FCA #CA704F #4FCA70
tetradic
#704FCA #CA4F6B #A9CA4F #4FCAAE
square
#704FCA #CA4F6B #A9CA4F #4FCAAE
split-complementary
#704FCA #CAAE4F #6BCA4F
monochromatic
#3C257A #5333A9 #704FCA #967ED8 #BCADE6

Accessibility & contrast

On white

5.74
#704FCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#704FCA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #704FCA
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704FCA#FFFFFF#000000##FFFFFF
##704FCA1.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068CE
Deuteranopia (green-blind)
#0063C7
Tritanopia (blue-blind)
#556B85
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #704fca;
/* rgb */ color: rgb(112, 79, 202);
/* oklch */ color: oklch(52.9% 0.182 291.2);
Tailwind
colors: {
  custom: {
    50: '#9f82db',
    500: '#704fca',
    950: '#000000',
  },
}
SCSS
$custom: #704fca;
$custom-light: #9f82db;
$custom-dark: #000000;
JSON
{
  "hex": "#704fca",
  "rgb": {
    "r": 112,
    "g": 79,
    "b": 202
  },
  "hsl": {
    "h": 256.098,
    "s": 53.712,
    "l": 55.098
  },
  "oklch": {
    "l": 0.52862,
    "c": 0.18212,
    "h": 291.2
  },
  "luminance": 0.13301
}

Semantic roles & 50–950 ramp

primary
#704FCA
secondary
#C6D4A1
accent
#DD4BB6
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #704FCA

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

Preview Lab → · Contrast checker → · Palette generator →

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