#704BCC#704BCC

#704BCC is a mid, vivid violet. Relative luminance 0.128; OKLCH L 52.4% C 0.190 H 291.7°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#704BCC
RGBrgb(112, 75, 204)
HSLhsl(257, 56%, 55%)
HSVhsv(257, 63%, 80%)
CMYKcmyk(45.1%, 63.2%, 0%, 20%)
CIE-LABlab(42.51, 45.64, -61.73)
CIE-LCHlch(42.51, 76.77, 306.48°)
OKLaboklab(52.4% 0.0702 -0.1765)
OKLCHoklch(52.4% 0.19 291.7)
XYZxyz(20.0942, 12.8359, 58.5339)
Luminance0.1284 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704BCC #A7CC4B
analogous
#4B67CC #704BCC #B04BCC
triadic
#704BCC #CC704B #4BCC70
tetradic
#704BCC #CC4B67 #A7CC4B #4BCCB0
square
#704BCC #CC4B67 #A7CC4B #4BCCB0
split-complementary
#704BCC #CCB04B #67CC4B
monochromatic
#3C237A #5330AA #704BCC #967BDA #BCAAE7

Accessibility & contrast

On white

5.89
#704BCC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #704BCC
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704BCC#FFFFFF#000000##FFFFFF
##704BCC1.005.893.575.89
#FFFFFF5.891.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D0
Deuteranopia (green-blind)
#0062C9
Tritanopia (blue-blind)
#556985
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #704bcc;
/* rgb */ color: rgb(112, 75, 204);
/* oklch */ color: oklch(52.4% 0.190 291.7);
Tailwind
colors: {
  custom: {
    50: '#a07fdc',
    500: '#704bcc',
    950: '#000000',
  },
}
SCSS
$custom: #704bcc;
$custom-light: #a07fdc;
$custom-dark: #000000;
JSON
{
  "hex": "#704bcc",
  "rgb": {
    "r": 112,
    "g": 75,
    "b": 204
  },
  "hsl": {
    "h": 257.209,
    "s": 55.844,
    "l": 54.706
  },
  "oklch": {
    "l": 0.524,
    "c": 0.18992,
    "h": 291.7
  },
  "luminance": 0.12837
}

Semantic roles & 50–950 ramp

primary
#704BCC
secondary
#C5D59E
accent
#DF49B4
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #704BCC

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

Preview Lab → · Contrast checker → · Palette generator →

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