#704BA2#704BA2

#704BA2 is a mid, vivid violet. Relative luminance 0.111; OKLCH L 49.5% C 0.137 H 301.2°. Best body text is #FFFFFF at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#704BA2
RGBrgb(112, 75, 162)
HSLhsl(266, 37%, 46%)
HSVhsv(266, 54%, 64%)
CMYKcmyk(30.9%, 53.7%, 0%, 36.5%)
CIE-LABlab(39.72, 34.26, -41.56)
CIE-LCHlch(39.72, 53.86, 309.50°)
OKLaboklab(49.47% 0.0709 -0.1172)
OKLCHoklch(49.47% 0.137 301.2)
XYZxyz(15.7182, 11.0855, 35.4870)
Luminance0.1109 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704BA2 #7DA24B
analogous
#4B52A2 #704BA2 #9C4BA2
triadic
#704BA2 #A2704B #4BA270
tetradic
#704BA2 #A24B52 #7DA24B #4BA29C
square
#704BA2 #A24B52 #7DA24B #4BA29C
split-complementary
#704BA2 #A29C4B #52A24B
monochromatic
#36244E #533878 #704BA2 #8F6EBC #B098CF

Accessibility & contrast

On white

6.53
#704BA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#704BA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #704BA2
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704BA2#FFFFFF#000000##FFFFFF
##704BA21.006.533.226.53
#FFFFFF6.531.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C5DA5
Deuteranopia (green-blind)
#375DA0
Tritanopia (blue-blind)
#665C6F
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #704ba2;
/* rgb */ color: rgb(112, 75, 162);
/* oklch */ color: oklch(49.5% 0.137 301.2);
Tailwind
colors: {
  custom: {
    50: '#9c7ebe',
    500: '#704ba2',
    950: '#000000',
  },
}
SCSS
$custom: #704ba2;
$custom-light: #9c7ebe;
$custom-dark: #000000;
JSON
{
  "hex": "#704ba2",
  "rgb": {
    "r": 112,
    "g": 75,
    "b": 162
  },
  "hsl": {
    "h": 265.517,
    "s": 36.709,
    "l": 46.471
  },
  "oklch": {
    "l": 0.49466,
    "c": 0.13699,
    "h": 301.2
  },
  "luminance": 0.11086
}

Semantic roles & 50–950 ramp

primary
#704BA2
secondary
#A8BC8D
accent
#CD5B9C
background
#F9F7FB
surface
#F2EEF7
border
#CCC9D0
text
#0E0A12
muted
#7E7C81

Preview Lab

Preview with #704BA2

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

Preview Lab → · Contrast checker → · Palette generator →

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