#704BB2#704BB2

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

Color values

HEX#704BB2
RGBrgb(112, 75, 178)
HSLhsl(262, 41%, 50%)
HSVhsv(262, 58%, 70%)
CMYKcmyk(37.1%, 57.9%, 0%, 30.2%)
CIE-LABlab(40.72, 38.50, -49.46)
CIE-LCHlch(40.72, 62.68, 307.90°)
OKLaboklab(50.52% 0.0714 -0.1404)
OKLCHoklch(50.52% 0.158 297)
XYZxyz(17.2320, 11.6910, 43.4596)
Luminance0.1169 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704BB2 #8DB24B
analogous
#4B5AB2 #704BB2 #A34BB2
triadic
#704BB2 #B2704B #4BB270
tetradic
#704BB2 #B24B5A #8DB24B #4BB2A3
square
#704BB2 #B24B5A #8DB24B #4BB2A3
split-complementary
#704BB2 #B2A34B #5AB24B
monochromatic
#3A275C #553987 #704BB2 #9275C5 #B4A0D7

Accessibility & contrast

On white

6.29
#704BB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#704BB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #704BB2
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704BB2#FFFFFF#000000##FFFFFF
##704BB21.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1560B5
Deuteranopia (green-blind)
#255FB0
Tritanopia (blue-blind)
#616177
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #704bb2;
/* rgb */ color: rgb(112, 75, 178);
/* oklch */ color: oklch(50.5% 0.158 297.0);
Tailwind
colors: {
  custom: {
    50: '#9d7fca',
    500: '#704bb2',
    950: '#000000',
  },
}
SCSS
$custom: #704bb2;
$custom-light: #9d7fca;
$custom-dark: #000000;
JSON
{
  "hex": "#704bb2",
  "rgb": {
    "r": 112,
    "g": 75,
    "b": 178
  },
  "hsl": {
    "h": 261.553,
    "s": 40.711,
    "l": 49.608
  },
  "oklch": {
    "l": 0.50521,
    "c": 0.1575,
    "h": 297
  },
  "luminance": 0.11691
}

Semantic roles & 50–950 ramp

primary
#704BB2
secondary
#B3C495
accent
#D157A5
background
#FAF7FC
surface
#F3EEF8
border
#CDC9D1
text
#0F0A13
muted
#7F7C82

Preview Lab

Preview with #704BB2

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

Preview Lab → · Contrast checker → · Palette generator →

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