#7154CF#7154CF

#7154CF is a mid, vivid violet. Relative luminance 0.144; OKLCH L 54.1% C 0.182 H 289.8°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#7154CF
RGBrgb(113, 84, 207)
HSLhsl(254, 56%, 57%)
HSVhsv(254, 59%, 81%)
CMYKcmyk(45.4%, 59.4%, 0%, 18.8%)
CIE-LABlab(44.74, 41.61, -59.86)
CIE-LCHlch(44.74, 72.90, 304.81°)
OKLaboklab(54.11% 0.0615 -0.1709)
OKLCHoklch(54.11% 0.182 289.8)
XYZxyz(21.2397, 14.3556, 60.6712)
Luminance0.1436 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7154CF #B2CF54
analogous
#5475CF #7154CF #AE54CF
triadic
#7154CF #CF7154 #54CF71
tetradic
#7154CF #CF5475 #B2CF54 #54CFAE
square
#7154CF #CF5475 #B2CF54 #54CFAE
split-complementary
#7154CF #CFAE54 #75CF54
monochromatic
#3B2584 #5132B3 #7154CF #9984DC #C0B4EA

Accessibility & contrast

On white

5.42
#7154CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#7154CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7154CF
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7154CF#FFFFFF#000000##FFFFFF
##7154CF1.005.423.875.42
#FFFFFF5.421.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD3
Deuteranopia (green-blind)
#0067CC
Tritanopia (blue-blind)
#547089
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #7154cf;
/* rgb */ color: rgb(113, 84, 207);
/* oklch */ color: oklch(54.1% 0.182 289.8);
Tailwind
colors: {
  custom: {
    50: '#a085de',
    500: '#7154cf',
    950: '#000000',
  },
}
SCSS
$custom: #7154cf;
$custom-light: #a085de;
$custom-dark: #000000;
JSON
{
  "hex": "#7154cf",
  "rgb": {
    "r": 113,
    "g": 84,
    "b": 207
  },
  "hsl": {
    "h": 254.146,
    "s": 56.164,
    "l": 57.059
  },
  "oklch": {
    "l": 0.54111,
    "c": 0.18164,
    "h": 289.8
  },
  "luminance": 0.14356
}

Semantic roles & 50–950 ramp

primary
#7154CF
secondary
#CDD8A6
accent
#DF48BC
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#0F0B15
muted
#7F7C83

Preview Lab

Preview with #7154CF

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

Preview Lab → · Contrast checker → · Palette generator →

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