#704297#704297

#704297 is a mid, vivid violet. Relative luminance 0.096; OKLCH L 47.3% C 0.138 H 306.9°. Best body text is #FFFFFF at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#704297
RGBrgb(112, 66, 151)
HSLhsl(272, 39%, 43%)
HSVhsv(272, 56%, 59%)
CMYKcmyk(25.8%, 56.3%, 0%, 40.8%)
CIE-LABlab(37.07, 36.65, -39.18)
CIE-LCHlch(37.07, 53.65, 313.09°)
OKLaboklab(47.29% 0.0827 -0.1102)
OKLCHoklch(47.29% 0.138 306.9)
XYZxyz(14.2151, 9.5757, 30.3716)
Luminance0.0958 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#704297 #699742
analogous
#464297 #704297 #974293
triadic
#704297 #977042 #429770
tetradic
#704297 #974642 #699742 #429397
square
#704297 #974642 #699742 #429397
split-complementary
#704297 #939742 #429746
monochromatic
#311D42 #502F6C #704297 #8F5EB8 #AC88CB

Accessibility & contrast

On white

7.20
#704297 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#704297 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #704297
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##704297#FFFFFF#000000##FFFFFF
##7042971.007.202.927.20
#FFFFFF7.201.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25569A
Deuteranopia (green-blind)
#355895
Tritanopia (blue-blind)
#6A5266
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #704297;
/* rgb */ color: rgb(112, 66, 151);
/* oklch */ color: oklch(47.3% 0.138 306.9);
Tailwind
colors: {
  custom: {
    50: '#9c78b6',
    500: '#704297',
    950: '#000000',
  },
}
SCSS
$custom: #704297;
$custom-light: #9c78b6;
$custom-dark: #000000;
JSON
{
  "hex": "#704297",
  "rgb": {
    "r": 112,
    "g": 66,
    "b": 151
  },
  "hsl": {
    "h": 272.471,
    "s": 39.171,
    "l": 42.549
  },
  "oklch": {
    "l": 0.47294,
    "c": 0.13777,
    "h": 306.9
  },
  "luminance": 0.09576
}

Semantic roles & 50–950 ramp

primary
#704297
secondary
#98B67F
accent
#CF598F
background
#F9F7FB
surface
#F2EDF6
border
#CCC8D0
text
#0E0911
muted
#7E7B80

Preview Lab

Preview with #704297

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

Preview Lab → · Contrast checker → · Palette generator →

#704297 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva