#704EA2#704EA2

#704EA2 is a mid, vivid violet. Relative luminance 0.115; OKLCH L 50.0% C 0.132 H 300.4°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#704EA2
RGBrgb(112, 78, 162)
HSLhsl(264, 35%, 47%)
HSVhsv(264, 52%, 64%)
CMYKcmyk(30.9%, 51.9%, 0%, 36.5%)
CIE-LABlab(40.41, 32.49, -40.46)
CIE-LCHlch(40.41, 51.89, 308.77°)
OKLaboklab(49.98% 0.0668 -0.114)
OKLCHoklch(49.98% 0.132 300.4)
XYZxyz(15.9265, 11.5021, 35.5565)
Luminance0.1150 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704EA2 #80A24E
analogous
#4E56A2 #704EA2 #9A4EA2
triadic
#704EA2 #A2704E #4EA270
tetradic
#704EA2 #A24E56 #80A24E #4EA29A
square
#704EA2 #A24E56 #80A24E #4EA29A
split-complementary
#704EA2 #A29A4E #56A24E
monochromatic
#37264F #533A79 #704EA2 #9072BB #B09BCF

Accessibility & contrast

On white

6.36
#704EA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#704EA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #704EA2
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704EA2#FFFFFF#000000##FFFFFF
##704EA21.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#315FA5
Deuteranopia (green-blind)
#3A5FA0
Tritanopia (blue-blind)
#665E70
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #704ea2;
/* rgb */ color: rgb(112, 78, 162);
/* oklch */ color: oklch(50.0% 0.132 300.4);
Tailwind
colors: {
  custom: {
    50: '#9c80be',
    500: '#704ea2',
    950: '#000000',
  },
}
SCSS
$custom: #704ea2;
$custom-light: #9c80be;
$custom-dark: #000000;
JSON
{
  "hex": "#704ea2",
  "rgb": {
    "r": 112,
    "g": 78,
    "b": 162
  },
  "hsl": {
    "h": 264.286,
    "s": 35,
    "l": 47.059
  },
  "oklch": {
    "l": 0.49977,
    "c": 0.13213,
    "h": 300.4
  },
  "luminance": 0.11502
}

Semantic roles & 50–950 ramp

primary
#704EA2
secondary
#AABC90
accent
#CB5D9E
background
#F9F7FB
surface
#F2EEF7
border
#CCC9D0
text
#0E0A12
muted
#7E7C81

Preview Lab

Preview with #704EA2

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

Preview Lab → · Contrast checker → · Palette generator →

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