#7050D7#7050D7

#7050D7 is a mid, vivid violet. Relative luminance 0.141; OKLCH L 54.0% C 0.197 H 289.0°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#7050D7
RGBrgb(112, 80, 215)
HSLhsl(254, 63%, 58%)
HSVhsv(254, 63%, 84%)
CMYKcmyk(47.9%, 62.8%, 0%, 15.7%)
CIE-LABlab(44.36, 45.96, -65.06)
CIE-LCHlch(44.36, 79.66, 305.24°)
OKLaboklab(53.99% 0.064 -0.1863)
OKLCHoklch(53.99% 0.197 289)
XYZxyz(21.8130, 14.0875, 65.8466)
Luminance0.1409 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7050D7 #B7D750
analogous
#5073D7 #7050D7 #B350D7
triadic
#7050D7 #D77050 #50D770
tetradic
#7050D7 #D75073 #B7D750 #50D7B3
square
#7050D7 #D75073 #B7D750 #50D7B3
split-complementary
#7050D7 #D7B350 #73D750
monochromatic
#3A208C #4E2BBE #7050D7 #9982E2 #C1B4EE

Accessibility & contrast

On white

5.50
#7050D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#7050D7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7050D7
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7050D7#FFFFFF#000000##FFFFFF
##7050D71.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CDB
Deuteranopia (green-blind)
#0066D4
Tritanopia (blue-blind)
#4E708C
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #7050d7;
/* rgb */ color: rgb(112, 80, 215);
/* oklch */ color: oklch(54.0% 0.197 289.0);
Tailwind
colors: {
  custom: {
    50: '#a183e4',
    500: '#7050d7',
    950: '#000000',
  },
}
SCSS
$custom: #7050d7;
$custom-light: #a183e4;
$custom-dark: #000000;
JSON
{
  "hex": "#7050d7",
  "rgb": {
    "r": 112,
    "g": 80,
    "b": 215
  },
  "hsl": {
    "h": 254.222,
    "s": 62.791,
    "l": 57.843
  },
  "oklch": {
    "l": 0.53991,
    "c": 0.19696,
    "h": 289
  },
  "luminance": 0.14088
}

Semantic roles & 50–950 ramp

primary
#7050D7
secondary
#D0DCA6
accent
#E642BF
background
#FAF8FE
surface
#F4EFFC
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #7050D7

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

Preview Lab → · Contrast checker → · Palette generator →

#7050D7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva