#7054CD#7054CD

#7054CD is a mid, vivid violet. Relative luminance 0.142; OKLCH L 53.9% C 0.179 H 289.7°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#7054CD
RGBrgb(112, 84, 205)
HSLhsl(254, 55%, 57%)
HSVhsv(254, 59%, 80%)
CMYKcmyk(45.4%, 59%, 0%, 19.6%)
CIE-LABlab(44.51, 40.83, -59.08)
CIE-LCHlch(44.51, 71.82, 304.65°)
OKLaboklab(53.88% 0.0603 -0.1687)
OKLCHoklch(53.88% 0.179 289.7)
XYZxyz(20.8687, 14.1924, 59.3856)
Luminance0.1419 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7054CD #B1CD54
analogous
#5475CD #7054CD #AC54CD
triadic
#7054CD #CD7054 #54CD70
tetradic
#7054CD #CD5475 #B1CD54 #54CDAC
square
#7054CD #CD5475 #B1CD54 #54CDAC
split-complementary
#7054CD #CDAC54 #75CD54
monochromatic
#3B2681 #5034B0 #7054CD #9883DB #BFB3E9

Accessibility & contrast

On white

5.47
#7054CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#7054CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7054CD
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7054CD#FFFFFF#000000##FFFFFF
##7054CD1.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD1
Deuteranopia (green-blind)
#0066CA
Tritanopia (blue-blind)
#536F88
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #7054cd;
/* rgb */ color: rgb(112, 84, 205);
/* oklch */ color: oklch(53.9% 0.179 289.7);
Tailwind
colors: {
  custom: {
    50: '#9f85dd',
    500: '#7054cd',
    950: '#000000',
  },
}
SCSS
$custom: #7054cd;
$custom-light: #9f85dd;
$custom-dark: #000000;
JSON
{
  "hex": "#7054cd",
  "rgb": {
    "r": 112,
    "g": 84,
    "b": 205
  },
  "hsl": {
    "h": 253.884,
    "s": 54.751,
    "l": 56.667
  },
  "oklch": {
    "l": 0.53876,
    "c": 0.17912,
    "h": 289.7
  },
  "luminance": 0.14193
}

Semantic roles & 50–950 ramp

primary
#7054CD
secondary
#CCD7A6
accent
#DE4ABC
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#0F0B15
muted
#7F7C83

Preview Lab

Preview with #7054CD

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

Preview Lab → · Contrast checker → · Palette generator →

#7054CD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva