#7050EB#7050EB

#7050EB is a mid, highly saturated violet. Relative luminance 0.152; OKLCH L 55.6% C 0.221 H 286.2°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#7050EB
RGBrgb(112, 80, 235)
HSLhsl(252, 79%, 62%)
HSVhsv(252, 66%, 92%)
CMYKcmyk(52.3%, 66%, 0%, 7.8%)
CIE-LABlab(45.88, 51.67, -73.95)
CIE-LCHlch(45.88, 90.21, 304.94°)
OKLaboklab(55.57% 0.0618 -0.2124)
OKLCHoklch(55.57% 0.221 286.2)
XYZxyz(24.5417, 15.1789, 80.2178)
Luminance0.1518 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7050EB #CBEB50
analogous
#507EEB #7050EB #BE50EB
triadic
#7050EB #EB7050 #50EB70
tetradic
#7050EB #EB507E #CBEB50 #50EBBE
square
#7050EB #EB507E #CBEB50 #50EBBE
split-complementary
#7050EB #EBBE50 #7EEB50
monochromatic
#3314AD #441AE4 #7050EB #9D87F1 #CABEF8

Accessibility & contrast

On white

5.20
#7050EB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#7050EB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7050EB
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7050EB#FFFFFF#000000##FFFFFF
##7050EB1.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071F0
Deuteranopia (green-blind)
#0068E8
Tritanopia (blue-blind)
#3E7797
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #7050eb;
/* rgb */ color: rgb(112, 80, 235);
/* oklch */ color: oklch(55.6% 0.221 286.2);
Tailwind
colors: {
  custom: {
    50: '#a383f3',
    500: '#7050eb',
    950: '#000000',
  },
}
SCSS
$custom: #7050eb;
$custom-light: #a383f3;
$custom-dark: #000000;
JSON
{
  "hex": "#7050eb",
  "rgb": {
    "r": 112,
    "g": 80,
    "b": 235
  },
  "hsl": {
    "h": 252.387,
    "s": 79.487,
    "l": 61.765
  },
  "oklch": {
    "l": 0.55566,
    "c": 0.22118,
    "h": 286.2
  },
  "luminance": 0.1518
}

Semantic roles & 50–950 ramp

primary
#7050EB
secondary
#DCE8AF
accent
#DC0AB0
background
#FAF8FF
surface
#F4EFFE
border
#CECAD6
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #7050EB

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

Preview Lab → · Contrast checker → · Palette generator →

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