#704BCE#704BCE

#704BCE is a mid, vivid violet. Relative luminance 0.129; OKLCH L 52.6% C 0.192 H 291.3°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#704BCE
RGBrgb(112, 75, 206)
HSLhsl(257, 57%, 55%)
HSVhsv(257, 64%, 81%)
CMYKcmyk(45.6%, 63.6%, 0%, 19.2%)
CIE-LABlab(42.66, 46.20, -62.65)
CIE-LCHlch(42.66, 77.84, 306.41°)
OKLaboklab(52.55% 0.07 -0.1792)
OKLCHoklch(52.55% 0.192 291.3)
XYZxyz(20.3356, 12.9324, 59.8053)
Luminance0.1293 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704BCE #A9CE4B
analogous
#4B67CE #704BCE #B24BCE
triadic
#704BCE #CE704B #4BCE70
tetradic
#704BCE #CE4B67 #A9CE4B #4BCEB2
square
#704BCE #CE4B67 #A9CE4B #4BCEB2
split-complementary
#704BCE #CEB24B #67CE4B
monochromatic
#3C227D #532FAD #704BCE #967BDB #BCABE8

Accessibility & contrast

On white

5.86
#704BCE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#704BCE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #704BCE
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704BCE#FFFFFF#000000##FFFFFF
##704BCE1.005.863.595.86
#FFFFFF5.861.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D2
Deuteranopia (green-blind)
#0062CB
Tritanopia (blue-blind)
#546A86
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #704bce;
/* rgb */ color: rgb(112, 75, 206);
/* oklch */ color: oklch(52.6% 0.192 291.3);
Tailwind
colors: {
  custom: {
    50: '#a07fde',
    500: '#704bce',
    950: '#000000',
  },
}
SCSS
$custom: #704bce;
$custom-light: #a07fde;
$custom-dark: #000000;
JSON
{
  "hex": "#704bce",
  "rgb": {
    "r": 112,
    "g": 75,
    "b": 206
  },
  "hsl": {
    "h": 256.947,
    "s": 57.205,
    "l": 55.098
  },
  "oklch": {
    "l": 0.52552,
    "c": 0.19236,
    "h": 291.3
  },
  "luminance": 0.12933
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #704BCE

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

Preview Lab → · Contrast checker → · Palette generator →

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