#704BDB#704BDB

#704BDB is a mid, highly saturated violet. Relative luminance 0.136; OKLCH L 53.6% C 0.208 H 289.2°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#704BDB
RGBrgb(112, 75, 219)
HSLhsl(255, 67%, 58%)
HSVhsv(255, 66%, 86%)
CMYKcmyk(48.9%, 65.8%, 0%, 14.1%)
CIE-LABlab(43.64, 49.84, -68.52)
CIE-LCHlch(43.64, 84.73, 306.03°)
OKLaboklab(53.57% 0.0686 -0.1964)
OKLCHoklch(53.57% 0.208 289.2)
XYZxyz(21.9807, 13.5904, 68.4691)
Luminance0.1359 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704BDB #B6DB4B
analogous
#4B6EDB #704BDB #B84BDB
triadic
#704BDB #DB704B #4BDB70
tetradic
#704BDB #DB4B6E #B6DB4B #4BDBB8
square
#704BDB #DB4B6E #B6DB4B #4BDBB8
split-complementary
#704BDB #DBB84B #6EDB4B
monochromatic
#3A1D8F #4F27C2 #704BDB #997EE5 #C1B1EF

Accessibility & contrast

On white

5.65
#704BDB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#704BDB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #704BDB
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704BDB#FFFFFF#000000##FFFFFF
##704BDB1.005.653.725.65
#FFFFFF5.651.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ADF
Deuteranopia (green-blind)
#0064D8
Tritanopia (blue-blind)
#4C6E8D
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #704bdb;
/* rgb */ color: rgb(112, 75, 219);
/* oklch */ color: oklch(53.6% 0.208 289.2);
Tailwind
colors: {
  custom: {
    50: '#a280e7',
    500: '#704bdb',
    950: '#000000',
  },
}
SCSS
$custom: #704bdb;
$custom-light: #a280e7;
$custom-dark: #000000;
JSON
{
  "hex": "#704bdb",
  "rgb": {
    "r": 112,
    "g": 75,
    "b": 219
  },
  "hsl": {
    "h": 255.417,
    "s": 66.667,
    "l": 57.647
  },
  "oklch": {
    "l": 0.53566,
    "c": 0.20804,
    "h": 289.2
  },
  "luminance": 0.13591
}

Semantic roles & 50–950 ramp

primary
#704BDB
secondary
#CFDEA4
accent
#EA3EBE
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #704BDB

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

Preview Lab → · Contrast checker → · Palette generator →

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