#704BAC#704BAC

#704BAC is a mid, vivid violet. Relative luminance 0.115; OKLCH L 50.1% C 0.150 H 298.4°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#704BAC
RGBrgb(112, 75, 172)
HSLhsl(263, 39%, 48%)
HSVhsv(263, 56%, 67%)
CMYKcmyk(34.9%, 56.4%, 0%, 32.5%)
CIE-LABlab(40.34, 36.89, -46.53)
CIE-LCHlch(40.34, 59.38, 308.41°)
OKLaboklab(50.12% 0.0714 -0.1318)
OKLCHoklch(50.12% 0.15 298.4)
XYZxyz(16.6427, 11.4553, 40.3560)
Luminance0.1145 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704BAC #87AC4B
analogous
#4B56AC #704BAC #A04BAC
triadic
#704BAC #AC704B #4BAC70
tetradic
#704BAC #AC4B56 #87AC4B #4BACA0
square
#704BAC #AC4B56 #87AC4B #4BACA0
split-complementary
#704BAC #ACA04B #56AC4B
monochromatic
#382657 #543881 #704BAC #9172C2 #B29DD4

Accessibility & contrast

On white

6.38
#704BAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#704BAC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #704BAC
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704BAC#FFFFFF#000000##FFFFFF
##704BAC1.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#205FAF
Deuteranopia (green-blind)
#2D5EAA
Tritanopia (blue-blind)
#635F74
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #704bac;
/* rgb */ color: rgb(112, 75, 172);
/* oklch */ color: oklch(50.1% 0.150 298.4);
Tailwind
colors: {
  custom: {
    50: '#9d7ec5',
    500: '#704bac',
    950: '#000000',
  },
}
SCSS
$custom: #704bac;
$custom-light: #9d7ec5;
$custom-dark: #000000;
JSON
{
  "hex": "#704bac",
  "rgb": {
    "r": 112,
    "g": 75,
    "b": 172
  },
  "hsl": {
    "h": 262.887,
    "s": 39.271,
    "l": 48.431
  },
  "oklch": {
    "l": 0.50116,
    "c": 0.14986,
    "h": 298.4
  },
  "luminance": 0.11455
}

Semantic roles & 50–950 ramp

primary
#704BAC
secondary
#AFC192
accent
#CF59A2
background
#F9F7FC
surface
#F2EEF8
border
#CCC9D1
text
#0F0A13
muted
#7E7C82

Preview Lab

Preview with #704BAC

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

Preview Lab → · Contrast checker → · Palette generator →

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