#704FBA#704FBA

#704FBA is a mid, vivid violet. Relative luminance 0.126; OKLCH L 51.7% C 0.162 H 294.3°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#704FBA
RGBrgb(112, 79, 186)
HSLhsl(259, 44%, 52%)
HSVhsv(259, 58%, 73%)
CMYKcmyk(39.8%, 57.5%, 0%, 27.1%)
CIE-LABlab(42.13, 38.38, -51.90)
CIE-LCHlch(42.13, 64.55, 306.48°)
OKLaboklab(51.72% 0.0665 -0.1475)
OKLCHoklch(51.72% 0.162 294.3)
XYZxyz(18.3387, 12.5815, 47.9071)
Luminance0.1258 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704FBA #99BA4F
analogous
#4F64BA #704FBA #A64FBA
triadic
#704FBA #BA704F #4FBA70
tetradic
#704FBA #BA4F64 #99BA4F #4FBAA6
square
#704FBA #BA4F64 #99BA4F #4FBAA6
split-complementary
#704FBA #BAA64F #64BA4F
monochromatic
#3B2866 #553992 #704FBA #947BCB #B7A7DC

Accessibility & contrast

On white

5.97
#704FBA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#704FBA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #704FBA
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704FBA#FFFFFF#000000##FFFFFF
##704FBA1.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1364BE
Deuteranopia (green-blind)
#2162B8
Tritanopia (blue-blind)
#5D667D
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #704fba;
/* rgb */ color: rgb(112, 79, 186);
/* oklch */ color: oklch(51.7% 0.162 294.3);
Tailwind
colors: {
  custom: {
    50: '#9e81cf',
    500: '#704fba',
    950: '#000000',
  },
}
SCSS
$custom: #704fba;
$custom-light: #9e81cf;
$custom-dark: #000000;
JSON
{
  "hex": "#704fba",
  "rgb": {
    "r": 112,
    "g": 79,
    "b": 186
  },
  "hsl": {
    "h": 258.505,
    "s": 43.673,
    "l": 51.961
  },
  "oklch": {
    "l": 0.5172,
    "c": 0.16183,
    "h": 294.3
  },
  "luminance": 0.12582
}

Semantic roles & 50–950 ramp

primary
#704FBA
secondary
#BBCA9B
accent
#D354AC
background
#FAF8FC
surface
#F3EFF9
border
#CDCAD2
text
#0F0A14
muted
#7F7C82

Preview Lab

Preview with #704FBA

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

Preview Lab → · Contrast checker → · Palette generator →

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