#704FCF#704FCF

#704FCF is a mid, vivid violet. Relative luminance 0.135; OKLCH L 53.2% C 0.188 H 290.4°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#704FCF
RGBrgb(112, 79, 207)
HSLhsl(255, 57%, 56%)
HSVhsv(255, 62%, 81%)
CMYKcmyk(45.9%, 61.8%, 0%, 18.8%)
CIE-LABlab(43.57, 44.25, -61.76)
CIE-LCHlch(43.57, 75.97, 305.62°)
OKLaboklab(53.23% 0.0657 -0.1765)
OKLCHoklch(53.23% 0.188 290.4)
XYZxyz(20.7374, 13.5410, 60.5404)
Luminance0.1354 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704FCF #AECF4F
analogous
#4F6ECF #704FCF #B04FCF
triadic
#704FCF #CF704F #4FCF70
tetradic
#704FCF #CF4F6E #AECF4F #4FCFB0
square
#704FCF #CF4F6E #AECF4F #4FCFB0
split-complementary
#704FCF #CFB04F #6ECF4F
monochromatic
#3B2381 #5130B1 #704FCF #977FDC #BEAFE9

Accessibility & contrast

On white

5.66
#704FCF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#704FCF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #704FCF
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704FCF#FFFFFF#000000##FFFFFF
##704FCF1.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D3
Deuteranopia (green-blind)
#0064CC
Tritanopia (blue-blind)
#536D88
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #704fcf;
/* rgb */ color: rgb(112, 79, 207);
/* oklch */ color: oklch(53.2% 0.188 290.4);
Tailwind
colors: {
  custom: {
    50: '#a082de',
    500: '#704fcf',
    950: '#000000',
  },
}
SCSS
$custom: #704fcf;
$custom-light: #a082de;
$custom-dark: #000000;
JSON
{
  "hex": "#704fcf",
  "rgb": {
    "r": 112,
    "g": 79,
    "b": 207
  },
  "hsl": {
    "h": 255.469,
    "s": 57.143,
    "l": 56.078
  },
  "oklch": {
    "l": 0.53233,
    "c": 0.18836,
    "h": 290.4
  },
  "luminance": 0.13542
}

Semantic roles & 50–950 ramp

primary
#704FCF
secondary
#CAD7A2
accent
#E047B9
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #704FCF

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

Preview Lab → · Contrast checker → · Palette generator →

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