#704FBF#704FBF

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

Color values

HEX#704FBF
RGBrgb(112, 79, 191)
HSLhsl(258, 47%, 53%)
HSVhsv(258, 59%, 75%)
CMYKcmyk(41.4%, 58.6%, 0%, 25.1%)
CIE-LABlab(42.46, 39.76, -54.29)
CIE-LCHlch(42.46, 67.29, 306.22°)
OKLaboklab(52.07% 0.0664 -0.1546)
OKLCHoklch(52.07% 0.168 293.3)
XYZxyz(18.8795, 12.7978, 50.7556)
Luminance0.1280 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704FBF #9EBF4F
analogous
#4F66BF #704FBF #A84FBF
triadic
#704FBF #BF704F #4FBF70
tetradic
#704FBF #BF4F66 #9EBF4F #4FBFA8
square
#704FBF #BF4F66 #9EBF4F #4FBFA8
split-complementary
#704FBF #BFA84F #66BF4F
monochromatic
#3C276C #543899 #704FBF #947CCF #B9A9E0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##704FBF#FFFFFF#000000##FFFFFF
##704FBF1.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)
#0166C3
Deuteranopia (green-blind)
#1662BD
Tritanopia (blue-blind)
#5B677F
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #704fbf;
/* rgb */ color: rgb(112, 79, 191);
/* oklch */ color: oklch(52.1% 0.168 293.3);
Tailwind
colors: {
  custom: {
    50: '#9e81d3',
    500: '#704fbf',
    950: '#000000',
  },
}
SCSS
$custom: #704fbf;
$custom-light: #9e81d3;
$custom-dark: #000000;
JSON
{
  "hex": "#704fbf",
  "rgb": {
    "r": 112,
    "g": 79,
    "b": 191
  },
  "hsl": {
    "h": 257.679,
    "s": 46.667,
    "l": 52.941
  },
  "oklch": {
    "l": 0.52069,
    "c": 0.16822,
    "h": 293.3
  },
  "luminance": 0.12798
}

Semantic roles & 50–950 ramp

primary
#704FBF
secondary
#BFCD9D
accent
#D651AF
background
#FAF8FD
surface
#F4EFFA
border
#CECAD3
text
#0F0A14
muted
#7F7C83

Preview Lab

Preview with #704FBF

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

Preview Lab → · Contrast checker → · Palette generator →

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