#704FB7#704FB7

#704FB7 is a mid, vivid violet. Relative luminance 0.125; OKLCH L 51.5% C 0.158 H 294.9°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#704FB7
RGBrgb(112, 79, 183)
HSLhsl(259, 42%, 51%)
HSVhsv(259, 57%, 72%)
CMYKcmyk(38.8%, 56.8%, 0%, 28.2%)
CIE-LABlab(41.93, 37.55, -50.46)
CIE-LCHlch(41.93, 62.90, 306.66°)
OKLaboklab(51.51% 0.0665 -0.1433)
OKLCHoklch(51.51% 0.158 294.9)
XYZxyz(18.0231, 12.4552, 46.2451)
Luminance0.1246 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704FB7 #96B74F
analogous
#4F62B7 #704FB7 #A44FB7
triadic
#704FB7 #B7704F #4FB770
tetradic
#704FB7 #B74F62 #96B74F #4FB7A4
square
#704FB7 #B74F62 #96B74F #4FB7A4
split-complementary
#704FB7 #B7A44F #62B74F
monochromatic
#3B2963 #553A8F #704FB7 #937AC9 #B7A6DB

Accessibility & contrast

On white

6.02
#704FB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#704FB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #704FB7
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704FB7#FFFFFF#000000##FFFFFF
##704FB71.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1964BA
Deuteranopia (green-blind)
#2561B5
Tritanopia (blue-blind)
#5E657B
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #704fb7;
/* rgb */ color: rgb(112, 79, 183);
/* oklch */ color: oklch(51.5% 0.158 294.9);
Tailwind
colors: {
  custom: {
    50: '#9d81cd',
    500: '#704fb7',
    950: '#000000',
  },
}
SCSS
$custom: #704fb7;
$custom-light: #9d81cd;
$custom-dark: #000000;
JSON
{
  "hex": "#704fb7",
  "rgb": {
    "r": 112,
    "g": 79,
    "b": 183
  },
  "hsl": {
    "h": 259.038,
    "s": 41.935,
    "l": 51.373
  },
  "oklch": {
    "l": 0.51514,
    "c": 0.15796,
    "h": 294.9
  },
  "luminance": 0.12456
}

Semantic roles & 50–950 ramp

primary
#704FB7
secondary
#B9C89A
accent
#D256AA
background
#FAF8FC
surface
#F3EFF9
border
#CDCAD2
text
#0F0A13
muted
#7F7C82

Preview Lab

Preview with #704FB7

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

Preview Lab → · Contrast checker → · Palette generator →

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