#704FF2#704FF2

#704FF2 is a mid, highly saturated violet. Relative luminance 0.154; OKLCH L 56.0% C 0.231 H 285.5°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#704FF2
RGBrgb(112, 79, 242)
HSLhsl(252, 86%, 63%)
HSVhsv(252, 67%, 95%)
CMYKcmyk(53.7%, 67.4%, 0%, 5.1%)
CIE-LABlab(46.24, 54.21, -77.30)
CIE-LCHlch(46.24, 94.41, 305.04°)
OKLaboklab(56% 0.0617 -0.2222)
OKLCHoklch(56% 0.231 285.5)
XYZxyz(25.5003, 15.4461, 85.6249)
Luminance0.1545 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704FF2 #D1F24F
analogous
#4F80F2 #704FF2 #C14FF2
triadic
#704FF2 #F2704F #4FF270
tetradic
#704FF2 #F24F80 #D1F24F #4FF2C1
square
#704FF2 #F24F80 #D1F24F #4FF2C1
split-complementary
#704FF2 #F2C14F #80F24F
monochromatic
#300EB9 #4216EE #704FF2 #9E88F6 #CDC1FA

Accessibility & contrast

On white

5.13
#704FF2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#704FF2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #704FF2
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704FF2#FFFFFF#000000##FFFFFF
##704FF21.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072F7
Deuteranopia (green-blind)
#0069EF
Tritanopia (blue-blind)
#37799A
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #704ff2;
/* rgb */ color: rgb(112, 79, 242);
/* oklch */ color: oklch(56.0% 0.231 285.5);
Tailwind
colors: {
  custom: {
    50: '#a483f8',
    500: '#704ff2',
    950: '#000000',
  },
}
SCSS
$custom: #704ff2;
$custom-light: #a483f8;
$custom-dark: #000000;
JSON
{
  "hex": "#704ff2",
  "rgb": {
    "r": 112,
    "g": 79,
    "b": 242
  },
  "hsl": {
    "h": 252.147,
    "s": 86.243,
    "l": 62.941
  },
  "oklch": {
    "l": 0.55998,
    "c": 0.23059,
    "h": 285.5
  },
  "luminance": 0.15448
}

Semantic roles & 50–950 ramp

primary
#704FF2
secondary
#E0ECB1
accent
#E303B5
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #704FF2

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

Preview Lab → · Contrast checker → · Palette generator →

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