#7154C2#7154C2

#7154C2 is a mid, vivid violet. Relative luminance 0.137; OKLCH L 53.2% C 0.165 H 292.0°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#7154C2
RGBrgb(113, 84, 194)
HSLhsl(256, 47%, 55%)
HSVhsv(256, 57%, 76%)
CMYKcmyk(41.8%, 56.7%, 0%, 23.9%)
CIE-LABlab(43.87, 37.93, -53.75)
CIE-LCHlch(43.87, 65.79, 305.21°)
OKLaboklab(53.19% 0.0618 -0.153)
OKLCHoklch(53.19% 0.165 292)
XYZxyz(19.7153, 13.7458, 52.6429)
Luminance0.1375 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7154C2 #A5C254
analogous
#546EC2 #7154C2 #A854C2
triadic
#7154C2 #C27154 #54C271
tetradic
#7154C2 #C2546E #A5C254 #54C2A8
square
#7154C2 #C2546E #A5C254 #54C2A8
split-complementary
#7154C2 #C2A854 #6EC254
monochromatic
#3C2973 #5439A0 #7154C2 #9681D2 #BCAEE2

Accessibility & contrast

On white

5.60
#7154C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#7154C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7154C2
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7154C2#FFFFFF#000000##FFFFFF
##7154C21.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1669C6
Deuteranopia (green-blind)
#1F65C0
Tritanopia (blue-blind)
#5B6C83
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #7154c2;
/* rgb */ color: rgb(113, 84, 194);
/* oklch */ color: oklch(53.2% 0.165 292.0);
Tailwind
colors: {
  custom: {
    50: '#9f85d5',
    500: '#7154c2',
    950: '#000000',
  },
}
SCSS
$custom: #7154c2;
$custom-light: #9f85d5;
$custom-dark: #000000;
JSON
{
  "hex": "#7154c2",
  "rgb": {
    "r": 113,
    "g": 84,
    "b": 194
  },
  "hsl": {
    "h": 255.818,
    "s": 47.414,
    "l": 54.51
  },
  "oklch": {
    "l": 0.53192,
    "c": 0.16495,
    "h": 292
  },
  "luminance": 0.13746
}

Semantic roles & 50–950 ramp

primary
#7154C2
secondary
#C4D0A2
accent
#D751B4
background
#FAF8FD
surface
#F4EFFA
border
#CECAD3
text
#0F0B14
muted
#7F7C83

Preview Lab

Preview with #7154C2

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

Preview Lab → · Contrast checker → · Palette generator →

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