#704BCB#704BCB

#704BCB is a mid, vivid violet. Relative luminance 0.128; OKLCH L 52.3% C 0.189 H 291.9°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#704BCB
RGBrgb(112, 75, 203)
HSLhsl(257, 55%, 55%)
HSVhsv(257, 63%, 80%)
CMYKcmyk(44.8%, 63.1%, 0%, 20.4%)
CIE-LABlab(42.44, 45.36, -61.27)
CIE-LCHlch(42.44, 76.24, 306.51°)
OKLaboklab(52.32% 0.0703 -0.1751)
OKLCHoklch(52.32% 0.189 291.9)
XYZxyz(19.9747, 12.7880, 57.9042)
Luminance0.1279 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704BCB #A6CB4B
analogous
#4B66CB #704BCB #B04BCB
triadic
#704BCB #CB704B #4BCB70
tetradic
#704BCB #CB4B66 #A6CB4B #4BCBB0
square
#704BCB #CB4B66 #A6CB4B #4BCBB0
split-complementary
#704BCB #CBB04B #66CB4B
monochromatic
#3C2379 #5331A8 #704BCB #967AD9 #BBAAE6

Accessibility & contrast

On white

5.90
#704BCB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#704BCB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #704BCB
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704BCB#FFFFFF#000000##FFFFFF
##704BCB1.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #704bcb;
/* rgb */ color: rgb(112, 75, 203);
/* oklch */ color: oklch(52.3% 0.189 291.9);
Tailwind
colors: {
  custom: {
    50: '#a07fdc',
    500: '#704bcb',
    950: '#000000',
  },
}
SCSS
$custom: #704bcb;
$custom-light: #a07fdc;
$custom-dark: #000000;
JSON
{
  "hex": "#704bcb",
  "rgb": {
    "r": 112,
    "g": 75,
    "b": 203
  },
  "hsl": {
    "h": 257.344,
    "s": 55.172,
    "l": 54.51
  },
  "oklch": {
    "l": 0.52324,
    "c": 0.18869,
    "h": 291.9
  },
  "luminance": 0.12789
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #704BCB

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

Preview Lab → · Contrast checker → · Palette generator →

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