#7154BD#7154BD

#7154BD is a mid, vivid violet. Relative luminance 0.135; OKLCH L 52.9% C 0.158 H 292.9°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#7154BD
RGBrgb(113, 84, 189)
HSLhsl(257, 44%, 54%)
HSVhsv(257, 56%, 74%)
CMYKcmyk(40.2%, 55.6%, 0%, 25.9%)
CIE-LABlab(43.54, 36.53, -51.37)
CIE-LCHlch(43.54, 63.03, 305.42°)
OKLaboklab(52.85% 0.0617 -0.1459)
OKLCHoklch(52.85% 0.158 292.9)
XYZxyz(19.1632, 13.5250, 49.7352)
Luminance0.1353 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7154BD #A0BD54
analogous
#546BBD #7154BD #A554BD
triadic
#7154BD #BD7154 #54BD71
tetradic
#7154BD #BD546B #A0BD54 #54BDA5
square
#7154BD #BD546B #A0BD54 #54BDA5
split-complementary
#7154BD #BDA554 #6BBD54
monochromatic
#3C2A6D #553B99 #7154BD #9680CE #BAACDF

Accessibility & contrast

On white

5.67
#7154BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#7154BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7154BD
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7154BD#FFFFFF#000000##FFFFFF
##7154BD1.005.673.715.67
#FFFFFF5.671.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2068C1
Deuteranopia (green-blind)
#2865BB
Tritanopia (blue-blind)
#5D6A80
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #7154bd;
/* rgb */ color: rgb(113, 84, 189);
/* oklch */ color: oklch(52.9% 0.158 292.9);
Tailwind
colors: {
  custom: {
    50: '#9e85d1',
    500: '#7154bd',
    950: '#000000',
  },
}
SCSS
$custom: #7154bd;
$custom-light: #9e85d1;
$custom-dark: #000000;
JSON
{
  "hex": "#7154bd",
  "rgb": {
    "r": 113,
    "g": 84,
    "b": 189
  },
  "hsl": {
    "h": 256.571,
    "s": 44.304,
    "l": 53.529
  },
  "oklch": {
    "l": 0.52851,
    "c": 0.15844,
    "h": 292.9
  },
  "luminance": 0.13525
}

Semantic roles & 50–950 ramp

primary
#7154BD
secondary
#C0CDA0
accent
#D454B1
background
#FAF8FC
surface
#F3EFF9
border
#CDCAD2
text
#0F0B14
muted
#7F7C82

Preview Lab

Preview with #7154BD

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

Preview Lab → · Contrast checker → · Palette generator →

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