#704BB1#704BB1

#704BB1 is a mid, vivid violet. Relative luminance 0.117; OKLCH L 50.5% C 0.156 H 297.2°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#704BB1
RGBrgb(112, 75, 177)
HSLhsl(262, 40%, 49%)
HSVhsv(262, 58%, 69%)
CMYKcmyk(36.7%, 57.6%, 0%, 30.6%)
CIE-LABlab(40.66, 38.23, -48.98)
CIE-LCHlch(40.66, 62.13, 307.98°)
OKLaboklab(50.45% 0.0714 -0.1389)
OKLCHoklch(50.45% 0.156 297.2)
XYZxyz(17.1320, 11.6510, 42.9327)
Luminance0.1165 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704BB1 #8CB14B
analogous
#4B59B1 #704BB1 #A34BB1
triadic
#704BB1 #B1704B #4BB170
tetradic
#704BB1 #B14B59 #8CB14B #4BB1A3
square
#704BB1 #B14B59 #8CB14B #4BB1A3
split-complementary
#704BB1 #B1A34B #59B14B
monochromatic
#3A275B #553986 #704BB1 #9275C4 #B4A0D7

Accessibility & contrast

On white

6.31
#704BB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#704BB1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #704BB1
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704BB1#FFFFFF#000000##FFFFFF
##704BB11.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1760B4
Deuteranopia (green-blind)
#275FAF
Tritanopia (blue-blind)
#616077
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #704bb1;
/* rgb */ color: rgb(112, 75, 177);
/* oklch */ color: oklch(50.5% 0.156 297.2);
Tailwind
colors: {
  custom: {
    50: '#9d7fc9',
    500: '#704bb1',
    950: '#000000',
  },
}
SCSS
$custom: #704bb1;
$custom-light: #9d7fc9;
$custom-dark: #000000;
JSON
{
  "hex": "#704bb1",
  "rgb": {
    "r": 112,
    "g": 75,
    "b": 177
  },
  "hsl": {
    "h": 261.765,
    "s": 40.476,
    "l": 49.412
  },
  "oklch": {
    "l": 0.50453,
    "c": 0.15623,
    "h": 297.2
  },
  "luminance": 0.11651
}

Semantic roles & 50–950 ramp

primary
#704BB1
secondary
#B2C394
accent
#D057A4
background
#F9F7FC
surface
#F2EEF8
border
#CCC9D1
text
#0F0A13
muted
#7E7C82

Preview Lab

Preview with #704BB1

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

Preview Lab → · Contrast checker → · Palette generator →

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