#704BDF#704BDF

#704BDF is a mid, highly saturated violet. Relative luminance 0.138; OKLCH L 53.9% C 0.213 H 288.6°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#704BDF
RGBrgb(112, 75, 223)
HSLhsl(255, 70%, 58%)
HSVhsv(255, 66%, 87%)
CMYKcmyk(49.8%, 66.4%, 0%, 12.5%)
CIE-LABlab(43.95, 50.96, -70.29)
CIE-LCHlch(43.95, 86.82, 305.94°)
OKLaboklab(53.89% 0.068 -0.2016)
OKLCHoklch(53.89% 0.213 288.6)
XYZxyz(22.5136, 13.8036, 71.2758)
Luminance0.1381 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704BDF #BADF4B
analogous
#4B70DF #704BDF #BA4BDF
triadic
#704BDF #DF704B #4BDF70
tetradic
#704BDF #DF4B70 #BADF4B #4BDFBA
square
#704BDF #DF4B70 #BADF4B #4BDFBA
split-complementary
#704BDF #DFBA4B #70DF4B
monochromatic
#391B95 #4D24C9 #704BDF #997FE8 #C3B3F1

Accessibility & contrast

On white

5.58
#704BDF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#704BDF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #704BDF
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704BDF#FFFFFF#000000##FFFFFF
##704BDF1.005.583.765.58
#FFFFFF5.581.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BE4
Deuteranopia (green-blind)
#0064DC
Tritanopia (blue-blind)
#49708F
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #704bdf;
/* rgb */ color: rgb(112, 75, 223);
/* oklch */ color: oklch(53.9% 0.213 288.6);
Tailwind
colors: {
  custom: {
    50: '#a280ea',
    500: '#704bdf',
    950: '#000000',
  },
}
SCSS
$custom: #704bdf;
$custom-light: #a280ea;
$custom-dark: #000000;
JSON
{
  "hex": "#704bdf",
  "rgb": {
    "r": 112,
    "g": 75,
    "b": 223
  },
  "hsl": {
    "h": 255,
    "s": 69.811,
    "l": 58.431
  },
  "oklch": {
    "l": 0.53886,
    "c": 0.2128,
    "h": 288.6
  },
  "luminance": 0.13805
}

Semantic roles & 50–950 ramp

primary
#704BDF
secondary
#D2E0A6
accent
#ED3BC0
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #704BDF

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

Preview Lab → · Contrast checker → · Palette generator →

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