#7050BC#7050BC

#7050BC is a mid, vivid violet. Relative luminance 0.128; OKLCH L 52.0% C 0.163 H 293.6°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#7050BC
RGBrgb(112, 80, 188)
HSLhsl(258, 45%, 53%)
HSVhsv(258, 57%, 74%)
CMYKcmyk(40.4%, 57.4%, 0%, 26.3%)
CIE-LABlab(42.48, 38.35, -52.50)
CIE-LCHlch(42.48, 65.02, 306.15°)
OKLaboklab(52.02% 0.0653 -0.1493)
OKLCHoklch(52.02% 0.163 293.6)
XYZxyz(18.6254, 12.8124, 49.0589)
Luminance0.1281 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7050BC #9CBC50
analogous
#5066BC #7050BC #A650BC
triadic
#7050BC #BC7050 #50BC70
tetradic
#7050BC #BC5066 #9CBC50 #50BCA6
square
#7050BC #BC5066 #9CBC50 #50BCA6
split-complementary
#7050BC #BCA650 #66BC50
monochromatic
#3C2869 #553996 #7050BC #947CCD #B8A9DE

Accessibility & contrast

On white

5.89
#7050BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#7050BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7050BC
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7050BC#FFFFFF#000000##FFFFFF
##7050BC1.005.893.565.89
#FFFFFF5.891.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1266C0
Deuteranopia (green-blind)
#1F62BA
Tritanopia (blue-blind)
#5C677E
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #7050bc;
/* rgb */ color: rgb(112, 80, 188);
/* oklch */ color: oklch(52.0% 0.163 293.6);
Tailwind
colors: {
  custom: {
    50: '#9e82d1',
    500: '#7050bc',
    950: '#000000',
  },
}
SCSS
$custom: #7050bc;
$custom-light: #9e82d1;
$custom-dark: #000000;
JSON
{
  "hex": "#7050bc",
  "rgb": {
    "r": 112,
    "g": 80,
    "b": 188
  },
  "hsl": {
    "h": 257.778,
    "s": 44.628,
    "l": 52.549
  },
  "oklch": {
    "l": 0.52022,
    "c": 0.16294,
    "h": 293.6
  },
  "luminance": 0.12813
}

Semantic roles & 50–950 ramp

primary
#7050BC
secondary
#BDCB9C
accent
#D453AE
background
#FAF8FC
surface
#F3EFF9
border
#CDCAD2
text
#0F0A14
muted
#7F7C82

Preview Lab

Preview with #7050BC

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

Preview Lab → · Contrast checker → · Palette generator →

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