#704ACB#704ACB

#704ACB is a mid, vivid violet. Relative luminance 0.127; OKLCH L 52.2% C 0.190 H 292.1°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#704ACB
RGBrgb(112, 74, 203)
HSLhsl(258, 55%, 54%)
HSVhsv(258, 64%, 80%)
CMYKcmyk(44.8%, 63.5%, 0%, 20.4%)
CIE-LABlab(42.24, 45.92, -61.61)
CIE-LCHlch(42.24, 76.84, 306.70°)
OKLaboklab(52.18% 0.0714 -0.1761)
OKLCHoklch(52.18% 0.19 292.1)
XYZxyz(19.9074, 12.6535, 57.8818)
Luminance0.1265 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704ACB #A5CB4A
analogous
#4A65CB #704ACB #B04ACB
triadic
#704ACB #CB704A #4ACB70
tetradic
#704ACB #CB4A65 #A5CB4A #4ACBB0
square
#704ACB #CB4A65 #A5CB4A #4ACBB0
split-complementary
#704ACB #CBB04A #65CB4A
monochromatic
#3C2378 #5330A8 #704ACB #967AD9 #BBA9E6

Accessibility & contrast

On white

5.95
#704ACB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#704ACB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #704ACB
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704ACB#FFFFFF#000000##FFFFFF
##704ACB1.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066CF
Deuteranopia (green-blind)
#0061C8
Tritanopia (blue-blind)
#556884
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #704acb;
/* rgb */ color: rgb(112, 74, 203);
/* oklch */ color: oklch(52.2% 0.190 292.1);
Tailwind
colors: {
  custom: {
    50: '#a07edc',
    500: '#704acb',
    950: '#000000',
  },
}
SCSS
$custom: #704acb;
$custom-light: #a07edc;
$custom-dark: #000000;
JSON
{
  "hex": "#704acb",
  "rgb": {
    "r": 112,
    "g": 74,
    "b": 203
  },
  "hsl": {
    "h": 257.674,
    "s": 55.365,
    "l": 54.314
  },
  "oklch": {
    "l": 0.52175,
    "c": 0.19001,
    "h": 292.1
  },
  "luminance": 0.12654
}

Semantic roles & 50–950 ramp

primary
#704ACB
secondary
#C4D49D
accent
#DF49B3
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #704ACB

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

Preview Lab → · Contrast checker → · Palette generator →

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