#7056CB#7056CB

#7056CB is a mid, vivid violet. Relative luminance 0.144; OKLCH L 54.1% C 0.174 H 289.5°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#7056CB
RGBrgb(112, 86, 203)
HSLhsl(253, 53%, 57%)
HSVhsv(253, 58%, 80%)
CMYKcmyk(44.8%, 57.6%, 0%, 20.4%)
CIE-LABlab(44.82, 39.10, -57.43)
CIE-LCHlch(44.82, 69.48, 304.25°)
OKLaboklab(54.06% 0.0581 -0.1638)
OKLCHoklch(54.06% 0.174 289.5)
XYZxyz(20.7863, 14.4114, 58.1748)
Luminance0.1441 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7056CB #B1CB56
analogous
#5677CB #7056CB #AA56CB
triadic
#7056CB #CB7056 #56CB70
tetradic
#7056CB #CB5677 #B1CB56 #56CBAA
square
#7056CB #CB5677 #B1CB56 #56CBAA
split-complementary
#7056CB #CBAA56 #77CB56
monochromatic
#3B277F #5036AE #7056CB #9885D9 #BFB4E8

Accessibility & contrast

On white

5.41
#7056CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#7056CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7056CB
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7056CB#FFFFFF#000000##FFFFFF
##7056CB1.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#016CCF
Deuteranopia (green-blind)
#0B67C8
Tritanopia (blue-blind)
#547088
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #7056cb;
/* rgb */ color: rgb(112, 86, 203);
/* oklch */ color: oklch(54.1% 0.174 289.5);
Tailwind
colors: {
  custom: {
    50: '#9f86dc',
    500: '#7056cb',
    950: '#000000',
  },
}
SCSS
$custom: #7056cb;
$custom-light: #9f86dc;
$custom-dark: #000000;
JSON
{
  "hex": "#7056cb",
  "rgb": {
    "r": 112,
    "g": 86,
    "b": 203
  },
  "hsl": {
    "h": 253.333,
    "s": 52.941,
    "l": 56.667
  },
  "oklch": {
    "l": 0.5406,
    "c": 0.17379,
    "h": 289.5
  },
  "luminance": 0.14412
}

Semantic roles & 50–950 ramp

primary
#7056CB
secondary
#CCD6A6
accent
#DC4BBC
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#0F0B15
muted
#7F7C83

Preview Lab

Preview with #7056CB

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

Preview Lab → · Contrast checker → · Palette generator →

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