#7154CC#7154CC

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

Color values

HEX#7154CC
RGBrgb(113, 84, 204)
HSLhsl(255, 54%, 56%)
HSVhsv(255, 59%, 80%)
CMYKcmyk(44.6%, 58.8%, 0%, 20%)
CIE-LABlab(44.53, 40.76, -58.46)
CIE-LCHlch(44.53, 71.27, 304.88°)
OKLaboklab(53.9% 0.0616 -0.1668)
OKLCHoklch(53.9% 0.178 290.3)
XYZxyz(20.8764, 14.2103, 58.7579)
Luminance0.1421 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7154CC #AFCC54
analogous
#5473CC #7154CC #AD54CC
triadic
#7154CC #CC7154 #54CC71
tetradic
#7154CC #CC5473 #AFCC54 #54CCAD
square
#7154CC #CC5473 #AFCC54 #54CCAD
split-complementary
#7154CC #CCAD54 #73CC54
monochromatic
#3C2680 #5234AF #7154CC #9883DA #BFB2E8

Accessibility & contrast

On white

5.47
#7154CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#7154CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7154CC
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7154CC#FFFFFF#000000##FFFFFF
##7154CC1.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)
#006CD0
Deuteranopia (green-blind)
#0067C9
Tritanopia (blue-blind)
#566F88
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #7154cc;
/* rgb */ color: rgb(113, 84, 204);
/* oklch */ color: oklch(53.9% 0.178 290.3);
Tailwind
colors: {
  custom: {
    50: '#a085dc',
    500: '#7154cc',
    950: '#000000',
  },
}
SCSS
$custom: #7154cc;
$custom-light: #a085dc;
$custom-dark: #000000;
JSON
{
  "hex": "#7154cc",
  "rgb": {
    "r": 113,
    "g": 84,
    "b": 204
  },
  "hsl": {
    "h": 254.5,
    "s": 54.054,
    "l": 56.471
  },
  "oklch": {
    "l": 0.53895,
    "c": 0.17782,
    "h": 290.3
  },
  "luminance": 0.14211
}

Semantic roles & 50–950 ramp

primary
#7154CC
secondary
#CBD7A5
accent
#DD4ABA
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#0F0B15
muted
#7F7C83

Preview Lab

Preview with #7154CC

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

Preview Lab → · Contrast checker → · Palette generator →

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