#704EBD#704EBD

#704EBD is a mid, vivid violet. Relative luminance 0.126; OKLCH L 51.8% C 0.167 H 293.9°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#704EBD
RGBrgb(112, 78, 189)
HSLhsl(258, 46%, 52%)
HSVhsv(258, 59%, 74%)
CMYKcmyk(40.7%, 58.7%, 0%, 25.9%)
CIE-LABlab(42.10, 39.78, -53.69)
CIE-LCHlch(42.10, 66.82, 306.54°)
OKLaboklab(51.77% 0.0676 -0.1528)
OKLCHoklch(51.77% 0.167 293.9)
XYZxyz(18.5893, 12.5672, 49.5805)
Luminance0.1257 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704EBD #9BBD4E
analogous
#4E64BD #704EBD #A74EBD
triadic
#704EBD #BD704E #4EBD70
tetradic
#704EBD #BD4E64 #9BBD4E #4EBDA7
square
#704EBD #BD4E64 #9BBD4E #4EBDA7
split-complementary
#704EBD #BDA74E #64BD4E
monochromatic
#3C2769 #553896 #704EBD #947BCE #B8A7DE

Accessibility & contrast

On white

5.98
#704EBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#704EBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #704EBD
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704EBD#FFFFFF#000000##FFFFFF
##704EBD1.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0265C1
Deuteranopia (green-blind)
#1861BB
Tritanopia (blue-blind)
#5C667E
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #704ebd;
/* rgb */ color: rgb(112, 78, 189);
/* oklch */ color: oklch(51.8% 0.167 293.9);
Tailwind
colors: {
  custom: {
    50: '#9e81d2',
    500: '#704ebd',
    950: '#000000',
  },
}
SCSS
$custom: #704ebd;
$custom-light: #9e81d2;
$custom-dark: #000000;
JSON
{
  "hex": "#704ebd",
  "rgb": {
    "r": 112,
    "g": 78,
    "b": 189
  },
  "hsl": {
    "h": 258.378,
    "s": 45.679,
    "l": 52.353
  },
  "oklch": {
    "l": 0.51768,
    "c": 0.16711,
    "h": 293.9
  },
  "luminance": 0.12568
}

Semantic roles & 50–950 ramp

primary
#704EBD
secondary
#BDCC9B
accent
#D552AD
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#0F0A14
muted
#7F7C82

Preview Lab

Preview with #704EBD

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

Preview Lab → · Contrast checker → · Palette generator →

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