#704FB2#704FB2

#704FB2 is a mid, vivid violet. Relative luminance 0.123; OKLCH L 51.2% C 0.151 H 296.0°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#704FB2
RGBrgb(112, 79, 178)
HSLhsl(260, 39%, 50%)
HSVhsv(260, 56%, 70%)
CMYKcmyk(37.1%, 55.6%, 0%, 30.2%)
CIE-LABlab(41.61, 36.19, -48.03)
CIE-LCHlch(41.61, 60.14, 306.99°)
OKLaboklab(51.18% 0.0664 -0.1362)
OKLCHoklch(51.18% 0.151 296)
XYZxyz(17.5119, 12.2508, 43.5528)
Luminance0.1225 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704FB2 #91B24F
analogous
#4F5FB2 #704FB2 #A14FB2
triadic
#704FB2 #B2704F #4FB270
tetradic
#704FB2 #B24F5F #91B24F #4FB2A1
square
#704FB2 #B24F5F #91B24F #4FB2A1
split-complementary
#704FB2 #B2A14F #5FB24F
monochromatic
#3B295E #553C88 #704FB2 #937AC5 #B5A4D7

Accessibility & contrast

On white

6.09
#704FB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#704FB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #704FB2
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704FB2#FFFFFF#000000##FFFFFF
##704FB21.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2263B5
Deuteranopia (green-blind)
#2C61B0
Tritanopia (blue-blind)
#606379
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #704fb2;
/* rgb */ color: rgb(112, 79, 178);
/* oklch */ color: oklch(51.2% 0.151 296.0);
Tailwind
colors: {
  custom: {
    50: '#9d81ca',
    500: '#704fb2',
    950: '#000000',
  },
}
SCSS
$custom: #704fb2;
$custom-light: #9d81ca;
$custom-dark: #000000;
JSON
{
  "hex": "#704fb2",
  "rgb": {
    "r": 112,
    "g": 79,
    "b": 178
  },
  "hsl": {
    "h": 260,
    "s": 39.13,
    "l": 50.392
  },
  "oklch": {
    "l": 0.51177,
    "c": 0.15149,
    "h": 296
  },
  "luminance": 0.12251
}

Semantic roles & 50–950 ramp

primary
#704FB2
secondary
#B6C498
accent
#CF59A8
background
#F9F7FC
surface
#F2EEF8
border
#CCC9D1
text
#0F0A13
muted
#7E7C82

Preview Lab

Preview with #704FB2

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

Preview Lab → · Contrast checker → · Palette generator →

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