#704BBB#704BBB

#704BBB is a mid, vivid violet. Relative luminance 0.121; OKLCH L 51.1% C 0.169 H 295.0°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#704BBB
RGBrgb(112, 75, 187)
HSLhsl(260, 45%, 51%)
HSVhsv(260, 60%, 73%)
CMYKcmyk(40.1%, 59.9%, 0%, 26.7%)
CIE-LABlab(41.32, 40.95, -53.79)
CIE-LCHlch(41.32, 67.60, 307.28°)
OKLaboklab(51.15% 0.0713 -0.1531)
OKLCHoklch(51.15% 0.169 295)
XYZxyz(18.1654, 12.0644, 48.3756)
Luminance0.1206 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704BBB #96BB4B
analogous
#4B5EBB #704BBB #A84BBB
triadic
#704BBB #BB704B #4BBB70
tetradic
#704BBB #BB4B5E #96BB4B #4BBBA8
square
#704BBB #BB4B5E #96BB4B #4BBBA8
split-complementary
#704BBB #BBA84B #5EBB4B
monochromatic
#3B2665 #553792 #704BBB #9377CC #B7A4DD

Accessibility & contrast

On white

6.15
#704BBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#704BBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #704BBB
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704BBB#FFFFFF#000000##FFFFFF
##704BBB1.006.153.416.15
#FFFFFF6.151.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062BF
Deuteranopia (green-blind)
#1460B9
Tritanopia (blue-blind)
#5D647C
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #704bbb;
/* rgb */ color: rgb(112, 75, 187);
/* oklch */ color: oklch(51.1% 0.169 295.0);
Tailwind
colors: {
  custom: {
    50: '#9e7fd0',
    500: '#704bbb',
    950: '#000000',
  },
}
SCSS
$custom: #704bbb;
$custom-light: #9e7fd0;
$custom-dark: #000000;
JSON
{
  "hex": "#704bbb",
  "rgb": {
    "r": 112,
    "g": 75,
    "b": 187
  },
  "hsl": {
    "h": 259.821,
    "s": 45.161,
    "l": 51.373
  },
  "oklch": {
    "l": 0.5115,
    "c": 0.16886,
    "h": 295
  },
  "luminance": 0.12065
}

Semantic roles & 50–950 ramp

primary
#704BBB
secondary
#B9CA98
accent
#D553AA
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#0F0A14
muted
#7F7C82

Preview Lab

Preview with #704BBB

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

Preview Lab → · Contrast checker → · Palette generator →

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