#704EFF#704EFF

#704EFF is a mid, highly saturated violet. Relative luminance 0.161; OKLCH L 57.0% C 0.247 H 284.2°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#704EFF
RGBrgb(112, 78, 255)
HSLhsl(252, 100%, 65%)
HSVhsv(252, 69%, 100%)
CMYKcmyk(56.1%, 69.4%, 0%, 0%)
CIE-LABlab(47.12, 58.43, -83.12)
CIE-LCHlch(47.12, 101.60, 305.11°)
OKLaboklab(56.96% 0.0603 -0.2393)
OKLCHoklch(56.96% 0.247 284.2)
XYZxyz(27.4510, 16.1118, 96.2517)
Luminance0.1611 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704EFF #DDFF4E
analogous
#4E85FF #704EFF #C84EFF
triadic
#704EFF #FF704E #4EFF70
tetradic
#704EFF #FF4E85 #DDFF4E #4EFFC8
square
#704EFF #FF4E85 #DDFF4E #4EFFC8
split-complementary
#704EFF #FFC84E #85FF4E
monochromatic
#2800D3 #3F11FF #704EFF #A18BFF #D3C8FF

Accessibility & contrast

On white

4.97
#704EFF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#704EFF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #704EFF
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704EFF#FFFFFF#000000##FFFFFF
##704EFF1.004.974.224.97
#FFFFFF4.971.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075FF
Deuteranopia (green-blind)
#006AFC
Tritanopia (blue-blind)
#257DA1
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #704eff;
/* rgb */ color: rgb(112, 78, 255);
/* oklch */ color: oklch(57.0% 0.247 284.2);
Tailwind
colors: {
  custom: {
    50: '#a682ff',
    500: '#704eff',
    950: '#000000',
  },
}
SCSS
$custom: #704eff;
$custom-light: #a682ff;
$custom-dark: #000000;
JSON
{
  "hex": "#704eff",
  "rgb": {
    "r": 112,
    "g": 78,
    "b": 255
  },
  "hsl": {
    "h": 251.525,
    "s": 100,
    "l": 65.294
  },
  "oklch": {
    "l": 0.56958,
    "c": 0.24675,
    "h": 284.2
  },
  "luminance": 0.16114
}

Semantic roles & 50–950 ramp

primary
#704EFF
secondary
#E7F2B7
accent
#E600B9
background
#FBF8FF
surface
#F6EFFF
border
#D0CAD7
text
#110B18
muted
#807C86

Preview Lab

Preview with #704EFF

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

Preview Lab → · Contrast checker → · Palette generator →

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