#7056DB#7056DB

#7056DB is a mid, vivid violet. Relative luminance 0.152; OKLCH L 55.2% C 0.194 H 287.2°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#7056DB
RGBrgb(112, 86, 219)
HSLhsl(252, 65%, 60%)
HSVhsv(252, 61%, 86%)
CMYKcmyk(48.9%, 60.7%, 0%, 14.1%)
CIE-LABlab(45.93, 43.72, -64.80)
CIE-LCHlch(45.93, 78.17, 304.00°)
OKLaboklab(55.23% 0.0575 -0.1855)
OKLCHoklch(55.23% 0.194 287.2)
XYZxyz(22.7923, 15.2138, 68.7397)
Luminance0.1522 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7056DB #C1DB56
analogous
#567FDB #7056DB #B256DB
triadic
#7056DB #DB7056 #56DB70
tetradic
#7056DB #DB567F #C1DB56 #56DBB2
square
#7056DB #DB567F #C1DB56 #56DBB2
split-complementary
#7056DB #DBB256 #7FDB56
monochromatic
#372097 #4A2BC9 #7056DB #9B88E6 #C5BBF0

Accessibility & contrast

On white

5.19
#7056DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#7056DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7056DB
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7056DB#FFFFFF#000000##FFFFFF
##7056DB1.005.194.045.19
#FFFFFF5.191.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070DF
Deuteranopia (green-blind)
#0069D8
Tritanopia (blue-blind)
#4B7590
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #7056db;
/* rgb */ color: rgb(112, 86, 219);
/* oklch */ color: oklch(55.2% 0.194 287.2);
Tailwind
colors: {
  custom: {
    50: '#a187e7',
    500: '#7056db',
    950: '#000000',
  },
}
SCSS
$custom: #7056db;
$custom-light: #a187e7;
$custom-dark: #000000;
JSON
{
  "hex": "#7056db",
  "rgb": {
    "r": 112,
    "g": 86,
    "b": 219
  },
  "hsl": {
    "h": 251.729,
    "s": 64.878,
    "l": 59.804
  },
  "oklch": {
    "l": 0.55225,
    "c": 0.1942,
    "h": 287.2
  },
  "luminance": 0.15215
}

Semantic roles & 50–950 ramp

primary
#7056DB
secondary
#D6E0AD
accent
#E840C7
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #7056DB

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

Preview Lab → · Contrast checker → · Palette generator →

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