#7154C4#7154C4

#7154C4 is a mid, vivid violet. Relative luminance 0.138; OKLCH L 53.3% C 0.168 H 291.6°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#7154C4
RGBrgb(113, 84, 196)
HSLhsl(256, 49%, 55%)
HSVhsv(256, 57%, 77%)
CMYKcmyk(42.3%, 57.1%, 0%, 23.1%)
CIE-LABlab(44.00, 38.50, -54.70)
CIE-LCHlch(44.00, 66.89, 305.13°)
OKLaboklab(53.33% 0.0618 -0.1557)
OKLCHoklch(53.33% 0.168 291.6)
XYZxyz(19.9415, 13.8363, 53.8338)
Luminance0.1384 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7154C4 #A7C454
analogous
#546FC4 #7154C4 #A954C4
triadic
#7154C4 #C47154 #54C471
tetradic
#7154C4 #C4546F #A7C454 #54C4A9
square
#7154C4 #C4546F #A7C454 #54C4A9
split-complementary
#7154C4 #C4A954 #6FC454
monochromatic
#3C2875 #5438A3 #7154C4 #9782D4 #BDAFE3

Accessibility & contrast

On white

5.57
#7154C4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#7154C4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7154C4
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7154C4#FFFFFF#000000##FFFFFF
##7154C41.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#106AC8
Deuteranopia (green-blind)
#1B66C2
Tritanopia (blue-blind)
#5A6C84
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #7154c4;
/* rgb */ color: rgb(113, 84, 196);
/* oklch */ color: oklch(53.3% 0.168 291.6);
Tailwind
colors: {
  custom: {
    50: '#9f85d6',
    500: '#7154c4',
    950: '#000000',
  },
}
SCSS
$custom: #7154c4;
$custom-light: #9f85d6;
$custom-dark: #000000;
JSON
{
  "hex": "#7154c4",
  "rgb": {
    "r": 113,
    "g": 84,
    "b": 196
  },
  "hsl": {
    "h": 255.536,
    "s": 48.696,
    "l": 54.902
  },
  "oklch": {
    "l": 0.53331,
    "c": 0.16754,
    "h": 291.6
  },
  "luminance": 0.13837
}

Semantic roles & 50–950 ramp

primary
#7154C4
secondary
#C5D1A2
accent
#D850B5
background
#FAF8FD
surface
#F4EFFA
border
#CECAD3
text
#0F0B14
muted
#7F7C83

Preview Lab

Preview with #7154C4

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

Preview Lab → · Contrast checker → · Palette generator →

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