#704FBC#704FBC

#704FBC is a mid, vivid violet. Relative luminance 0.127; OKLCH L 51.9% C 0.164 H 293.8°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#704FBC
RGBrgb(112, 79, 188)
HSLhsl(258, 45%, 52%)
HSVhsv(258, 58%, 74%)
CMYKcmyk(40.4%, 58%, 0%, 26.3%)
CIE-LABlab(42.26, 38.93, -52.86)
CIE-LCHlch(42.26, 65.65, 306.37°)
OKLaboklab(51.86% 0.0665 -0.1504)
OKLCHoklch(51.86% 0.164 293.8)
XYZxyz(18.5528, 12.6671, 49.0347)
Luminance0.1267 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704FBC #9BBC4F
analogous
#4F65BC #704FBC #A64FBC
triadic
#704FBC #BC704F #4FBC70
tetradic
#704FBC #BC4F65 #9BBC4F #4FBCA6
square
#704FBC #BC4F65 #9BBC4F #4FBCA6
split-complementary
#704FBC #BCA64F #65BC4F
monochromatic
#3C2869 #553995 #704FBC #947BCD #B8A8DE

Accessibility & contrast

On white

5.94
#704FBC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#704FBC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #704FBC
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704FBC#FFFFFF#000000##FFFFFF
##704FBC1.005.943.535.94
#FFFFFF5.941.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D65C0
Deuteranopia (green-blind)
#1D62BA
Tritanopia (blue-blind)
#5C677E
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #704fbc;
/* rgb */ color: rgb(112, 79, 188);
/* oklch */ color: oklch(51.9% 0.164 293.8);
Tailwind
colors: {
  custom: {
    50: '#9e81d1',
    500: '#704fbc',
    950: '#000000',
  },
}
SCSS
$custom: #704fbc;
$custom-light: #9e81d1;
$custom-dark: #000000;
JSON
{
  "hex": "#704fbc",
  "rgb": {
    "r": 112,
    "g": 79,
    "b": 188
  },
  "hsl": {
    "h": 258.165,
    "s": 44.856,
    "l": 52.353
  },
  "oklch": {
    "l": 0.51859,
    "c": 0.16439,
    "h": 293.8
  },
  "luminance": 0.12668
}

Semantic roles & 50–950 ramp

primary
#704FBC
secondary
#BDCB9C
accent
#D553AD
background
#FAF8FC
surface
#F3EFF9
border
#CDCAD2
text
#0F0A14
muted
#7F7C82

Preview Lab

Preview with #704FBC

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

Preview Lab → · Contrast checker → · Palette generator →

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