#7050CB#7050CB

#7050CB is a mid, vivid violet. Relative luminance 0.135; OKLCH L 53.1% C 0.182 H 290.9°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#7050CB
RGBrgb(112, 80, 203)
HSLhsl(256, 54%, 55%)
HSVhsv(256, 61%, 80%)
CMYKcmyk(44.8%, 60.6%, 0%, 20.4%)
CIE-LABlab(43.50, 42.55, -59.56)
CIE-LCHlch(43.50, 73.20, 305.54°)
OKLaboklab(53.09% 0.0648 -0.1701)
OKLCHoklch(53.09% 0.182 290.9)
XYZxyz(20.3272, 13.4932, 58.0218)
Luminance0.1349 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7050CB #ABCB50
analogous
#506DCB #7050CB #AE50CB
triadic
#7050CB #CB7050 #50CB70
tetradic
#7050CB #CB506D #ABCB50 #50CBAE
square
#7050CB #CB506D #ABCB50 #50CBAE
split-complementary
#7050CB #CBAE50 #6DCB50
monochromatic
#3B257C #5233AB #7050CB #977FD9 #BDAEE7

Accessibility & contrast

On white

5.68
#7050CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#7050CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7050CB
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7050CB#FFFFFF#000000##FFFFFF
##7050CB1.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069CF
Deuteranopia (green-blind)
#0064C8
Tritanopia (blue-blind)
#556C86
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #7050cb;
/* rgb */ color: rgb(112, 80, 203);
/* oklch */ color: oklch(53.1% 0.182 290.9);
Tailwind
colors: {
  custom: {
    50: '#9f82dc',
    500: '#7050cb',
    950: '#000000',
  },
}
SCSS
$custom: #7050cb;
$custom-light: #9f82dc;
$custom-dark: #000000;
JSON
{
  "hex": "#7050cb",
  "rgb": {
    "r": 112,
    "g": 80,
    "b": 203
  },
  "hsl": {
    "h": 255.61,
    "s": 54.185,
    "l": 55.49
  },
  "oklch": {
    "l": 0.53092,
    "c": 0.18202,
    "h": 290.9
  },
  "luminance": 0.13494
}

Semantic roles & 50–950 ramp

primary
#7050CB
secondary
#C8D5A2
accent
#DE4AB7
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #7050CB

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

Preview Lab → · Contrast checker → · Palette generator →

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