#704BCA#704BCA

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

Color values

HEX#704BCA
RGBrgb(112, 75, 202)
HSLhsl(257, 55%, 54%)
HSVhsv(257, 63%, 79%)
CMYKcmyk(44.6%, 62.9%, 0%, 20.8%)
CIE-LABlab(42.37, 45.09, -60.81)
CIE-LCHlch(42.37, 75.70, 306.55°)
OKLaboklab(52.25% 0.0704 -0.1738)
OKLCHoklch(52.25% 0.187 292)
XYZxyz(19.8559, 12.7405, 57.2787)
Luminance0.1274 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704BCA #A5CA4B
analogous
#4B66CA #704BCA #AF4BCA
triadic
#704BCA #CA704B #4BCA70
tetradic
#704BCA #CA4B66 #A5CA4B #4BCAAF
square
#704BCA #CA4B66 #A5CA4B #4BCAAF
split-complementary
#704BCA #CAAF4B #66CA4B
monochromatic
#3C2377 #5331A7 #704BCA #967AD8 #BBAAE6

Accessibility & contrast

On white

5.92
#704BCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#704BCA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #704BCA
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704BCA#FFFFFF#000000##FFFFFF
##704BCA1.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066CE
Deuteranopia (green-blind)
#0061C7
Tritanopia (blue-blind)
#566984
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #704bca;
/* rgb */ color: rgb(112, 75, 202);
/* oklch */ color: oklch(52.2% 0.187 292.0);
Tailwind
colors: {
  custom: {
    50: '#a07fdb',
    500: '#704bca',
    950: '#000000',
  },
}
SCSS
$custom: #704bca;
$custom-light: #a07fdb;
$custom-dark: #000000;
JSON
{
  "hex": "#704bca",
  "rgb": {
    "r": 112,
    "g": 75,
    "b": 202
  },
  "hsl": {
    "h": 257.48,
    "s": 54.506,
    "l": 54.314
  },
  "oklch": {
    "l": 0.52249,
    "c": 0.18747,
    "h": 292
  },
  "luminance": 0.12741
}

Semantic roles & 50–950 ramp

primary
#704BCA
secondary
#C4D39D
accent
#DE4AB3
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #704BCA

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

Preview Lab → · Contrast checker → · Palette generator →

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