#704FBD#704FBD

#704FBD is a mid, vivid violet. Relative luminance 0.127; OKLCH L 51.9% C 0.166 H 293.6°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#704FBD
RGBrgb(112, 79, 189)
HSLhsl(258, 45%, 53%)
HSVhsv(258, 58%, 74%)
CMYKcmyk(40.7%, 58.2%, 0%, 25.9%)
CIE-LABlab(42.32, 39.21, -53.33)
CIE-LCHlch(42.32, 66.20, 306.32°)
OKLaboklab(51.93% 0.0665 -0.1518)
OKLCHoklch(51.93% 0.166 293.6)
XYZxyz(18.6609, 12.7104, 49.6044)
Luminance0.1271 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704FBD #9CBD4F
analogous
#4F65BD #704FBD #A74FBD
triadic
#704FBD #BD704F #4FBD70
tetradic
#704FBD #BD4F65 #9CBD4F #4FBDA7
square
#704FBD #BD4F65 #9CBD4F #4FBDA7
split-complementary
#704FBD #BDA74F #65BD4F
monochromatic
#3C286A #553896 #704FBD #947CCE #B8A8DE

Accessibility & contrast

On white

5.93
#704FBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#704FBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #704FBD
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704FBD#FFFFFF#000000##FFFFFF
##704FBD1.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0965C1
Deuteranopia (green-blind)
#1B62BB
Tritanopia (blue-blind)
#5C677E
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #704fbd;
/* rgb */ color: rgb(112, 79, 189);
/* oklch */ color: oklch(51.9% 0.166 293.6);
Tailwind
colors: {
  custom: {
    50: '#9e81d2',
    500: '#704fbd',
    950: '#000000',
  },
}
SCSS
$custom: #704fbd;
$custom-light: #9e81d2;
$custom-dark: #000000;
JSON
{
  "hex": "#704fbd",
  "rgb": {
    "r": 112,
    "g": 79,
    "b": 189
  },
  "hsl": {
    "h": 258,
    "s": 45.455,
    "l": 52.549
  },
  "oklch": {
    "l": 0.51929,
    "c": 0.16567,
    "h": 293.6
  },
  "luminance": 0.12711
}

Semantic roles & 50–950 ramp

primary
#704FBD
secondary
#BDCC9C
accent
#D553AE
background
#FAF8FC
surface
#F4EFF9
border
#CECAD2
text
#0F0A14
muted
#7F7C82

Preview Lab

Preview with #704FBD

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

Preview Lab → · Contrast checker → · Palette generator →

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