#7154C8#7154C8

#7154C8 is a mid, vivid violet. Relative luminance 0.140; OKLCH L 53.6% C 0.173 H 290.9°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#7154C8
RGBrgb(113, 84, 200)
HSLhsl(255, 51%, 56%)
HSVhsv(255, 58%, 78%)
CMYKcmyk(43.5%, 58%, 0%, 21.6%)
CIE-LABlab(44.26, 39.63, -56.59)
CIE-LCHlch(44.26, 69.08, 305.00°)
OKLaboklab(53.61% 0.0617 -0.1613)
OKLCHoklch(53.61% 0.173 290.9)
XYZxyz(20.4028, 14.0208, 56.2637)
Luminance0.1402 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7154C8 #ABC854
analogous
#5471C8 #7154C8 #AB54C8
triadic
#7154C8 #C87154 #54C871
tetradic
#7154C8 #C85471 #ABC854 #54C8AB
square
#7154C8 #C85471 #ABC854 #54C8AB
split-complementary
#7154C8 #C8AB54 #71C854
monochromatic
#3C277A #5336A9 #7154C8 #9782D7 #BEB1E6

Accessibility & contrast

On white

5.52
#7154C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#7154C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7154C8
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7154C8#FFFFFF#000000##FFFFFF
##7154C81.005.523.805.52
#FFFFFF5.521.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BCC
Deuteranopia (green-blind)
#1066C5
Tritanopia (blue-blind)
#586E86
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #7154c8;
/* rgb */ color: rgb(113, 84, 200);
/* oklch */ color: oklch(53.6% 0.173 290.9);
Tailwind
colors: {
  custom: {
    50: '#9f85d9',
    500: '#7154c8',
    950: '#000000',
  },
}
SCSS
$custom: #7154c8;
$custom-light: #9f85d9;
$custom-dark: #000000;
JSON
{
  "hex": "#7154c8",
  "rgb": {
    "r": 113,
    "g": 84,
    "b": 200
  },
  "hsl": {
    "h": 255,
    "s": 51.327,
    "l": 55.686
  },
  "oklch": {
    "l": 0.53611,
    "c": 0.17271,
    "h": 290.9
  },
  "luminance": 0.14021
}

Semantic roles & 50–950 ramp

primary
#7154C8
secondary
#C8D4A4
accent
#DB4DB7
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#0F0B15
muted
#7F7C83

Preview Lab

Preview with #7154C8

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

Preview Lab → · Contrast checker → · Palette generator →

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