#7154CD#7154CD

#7154CD is a mid, vivid violet. Relative luminance 0.143; OKLCH L 54.0% C 0.179 H 290.1°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#7154CD
RGBrgb(113, 84, 205)
HSLhsl(254, 55%, 57%)
HSVhsv(254, 59%, 80%)
CMYKcmyk(44.9%, 59%, 0%, 19.6%)
CIE-LABlab(44.60, 41.04, -58.93)
CIE-LCHlch(44.60, 71.81, 304.86°)
OKLaboklab(53.97% 0.0616 -0.1682)
OKLCHoklch(53.97% 0.179 290.1)
XYZxyz(20.9967, 14.2584, 59.3916)
Luminance0.1426 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7154CD #B0CD54
analogous
#5474CD #7154CD #AE54CD
triadic
#7154CD #CD7154 #54CD71
tetradic
#7154CD #CD5474 #B0CD54 #54CDAE
square
#7154CD #CD5474 #B0CD54 #54CDAE
split-complementary
#7154CD #CDAE54 #74CD54
monochromatic
#3C2681 #5134B0 #7154CD #9883DB #C0B3E9

Accessibility & contrast

On white

5.45
#7154CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#7154CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7154CD
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7154CD#FFFFFF#000000##FFFFFF
##7154CD1.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7154cd;
/* rgb */ color: rgb(113, 84, 205);
/* oklch */ color: oklch(54.0% 0.179 290.1);
Tailwind
colors: {
  custom: {
    50: '#a085dd',
    500: '#7154cd',
    950: '#000000',
  },
}
SCSS
$custom: #7154cd;
$custom-light: #a085dd;
$custom-dark: #000000;
JSON
{
  "hex": "#7154cd",
  "rgb": {
    "r": 113,
    "g": 84,
    "b": 205
  },
  "hsl": {
    "h": 254.38,
    "s": 54.751,
    "l": 56.667
  },
  "oklch": {
    "l": 0.53967,
    "c": 0.1791,
    "h": 290.1
  },
  "luminance": 0.14259
}

Semantic roles & 50–950 ramp

primary
#7154CD
secondary
#CBD7A6
accent
#DE4ABB
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#0F0B15
muted
#7F7C83

Preview Lab

Preview with #7154CD

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

Preview Lab → · Contrast checker → · Palette generator →

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