#704ACF#704ACF

#704ACF is a mid, vivid violet. Relative luminance 0.128; OKLCH L 52.5% C 0.195 H 291.4°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#704ACF
RGBrgb(112, 74, 207)
HSLhsl(257, 58%, 55%)
HSVhsv(257, 64%, 81%)
CMYKcmyk(45.9%, 64.3%, 0%, 18.8%)
CIE-LABlab(42.53, 47.03, -63.44)
CIE-LCHlch(42.53, 78.97, 306.55°)
OKLaboklab(52.48% 0.071 -0.1815)
OKLCHoklch(52.48% 0.195 291.4)
XYZxyz(20.3902, 12.8466, 60.4247)
Luminance0.1285 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704ACF #A9CF4A
analogous
#4A66CF #704ACF #B34ACF
triadic
#704ACF #CF704A #4ACF70
tetradic
#704ACF #CF4A66 #A9CF4A #4ACFB3
square
#704ACF #CF4A66 #A9CF4A #4ACFB3
split-complementary
#704ACF #CFB34A #66CF4A
monochromatic
#3C217D #532EAE #704ACF #967ADC #BCABE9

Accessibility & contrast

On white

5.88
#704ACF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#704ACF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #704ACF
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704ACF#FFFFFF#000000##FFFFFF
##704ACF1.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D3
Deuteranopia (green-blind)
#0062CC
Tritanopia (blue-blind)
#536A86
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #704acf;
/* rgb */ color: rgb(112, 74, 207);
/* oklch */ color: oklch(52.5% 0.195 291.4);
Tailwind
colors: {
  custom: {
    50: '#a07fdf',
    500: '#704acf',
    950: '#000000',
  },
}
SCSS
$custom: #704acf;
$custom-light: #a07fdf;
$custom-dark: #000000;
JSON
{
  "hex": "#704acf",
  "rgb": {
    "r": 112,
    "g": 74,
    "b": 207
  },
  "hsl": {
    "h": 257.143,
    "s": 58.079,
    "l": 55.098
  },
  "oklch": {
    "l": 0.52481,
    "c": 0.19486,
    "h": 291.4
  },
  "luminance": 0.12847
}

Semantic roles & 50–950 ramp

primary
#704ACF
secondary
#C6D69F
accent
#E146B5
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #704ACF

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

Preview Lab → · Contrast checker → · Palette generator →

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