#704FBE#704FBE

#704FBE is a mid, vivid violet. Relative luminance 0.128; OKLCH L 52.0% C 0.167 H 293.4°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#704FBE
RGBrgb(112, 79, 190)
HSLhsl(258, 46%, 53%)
HSVhsv(258, 58%, 75%)
CMYKcmyk(41.1%, 58.4%, 0%, 25.5%)
CIE-LABlab(42.39, 39.49, -53.81)
CIE-LCHlch(42.39, 66.74, 306.27°)
OKLaboklab(52% 0.0664 -0.1532)
OKLCHoklch(52% 0.167 293.4)
XYZxyz(18.7698, 12.7539, 50.1780)
Luminance0.1275 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704FBE #9DBE4F
analogous
#4F65BE #704FBE #A84FBE
triadic
#704FBE #BE704F #4FBE70
tetradic
#704FBE #BE4F65 #9DBE4F #4FBEA8
square
#704FBE #BE4F65 #9DBE4F #4FBEA8
split-complementary
#704FBE #BEA84F #65BE4F
monochromatic
#3C286B #543898 #704FBE #947CCF #B9A8DF

Accessibility & contrast

On white

5.91
#704FBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#704FBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #704FBE
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704FBE#FFFFFF#000000##FFFFFF
##704FBE1.005.913.555.91
#FFFFFF5.911.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0565C2
Deuteranopia (green-blind)
#1862BC
Tritanopia (blue-blind)
#5B677F
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #704fbe;
/* rgb */ color: rgb(112, 79, 190);
/* oklch */ color: oklch(52.0% 0.167 293.4);
Tailwind
colors: {
  custom: {
    50: '#9e81d2',
    500: '#704fbe',
    950: '#000000',
  },
}
SCSS
$custom: #704fbe;
$custom-light: #9e81d2;
$custom-dark: #000000;
JSON
{
  "hex": "#704fbe",
  "rgb": {
    "r": 112,
    "g": 79,
    "b": 190
  },
  "hsl": {
    "h": 257.838,
    "s": 46.058,
    "l": 52.745
  },
  "oklch": {
    "l": 0.51999,
    "c": 0.16695,
    "h": 293.4
  },
  "luminance": 0.12754
}

Semantic roles & 50–950 ramp

primary
#704FBE
secondary
#BECC9C
accent
#D652AF
background
#FAF8FD
surface
#F4EFFA
border
#CECAD3
text
#0F0A14
muted
#7F7C83

Preview Lab

Preview with #704FBE

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

Preview Lab → · Contrast checker → · Palette generator →

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