#7154BA#7154BA

#7154BA is a mid, vivid violet. Relative luminance 0.134; OKLCH L 52.6% C 0.154 H 293.5°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#7154BA
RGBrgb(113, 84, 186)
HSLhsl(257, 43%, 53%)
HSVhsv(257, 55%, 73%)
CMYKcmyk(39.2%, 54.8%, 0%, 27.1%)
CIE-LABlab(43.35, 35.70, -49.92)
CIE-LCHlch(43.35, 61.37, 305.57°)
OKLaboklab(52.65% 0.0616 -0.1417)
OKLCHoklch(52.65% 0.155 293.5)
XYZxyz(18.8410, 13.3961, 48.0379)
Luminance0.1340 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7154BA #9DBA54
analogous
#546ABA #7154BA #A454BA
triadic
#7154BA #BA7154 #54BA71
tetradic
#7154BA #BA546A #9DBA54 #54BAA4
square
#7154BA #BA546A #9DBA54 #54BAA4
split-complementary
#7154BA #BAA454 #6ABA54
monochromatic
#3C2A69 #553C95 #7154BA #9580CC #B9ABDD

Accessibility & contrast

On white

5.71
#7154BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#7154BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7154BA
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7154BA#FFFFFF#000000##FFFFFF
##7154BA1.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2468BD
Deuteranopia (green-blind)
#2C65B8
Tritanopia (blue-blind)
#5E697F
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #7154ba;
/* rgb */ color: rgb(113, 84, 186);
/* oklch */ color: oklch(52.6% 0.154 293.5);
Tailwind
colors: {
  custom: {
    50: '#9e85cf',
    500: '#7154ba',
    950: '#000000',
  },
}
SCSS
$custom: #7154ba;
$custom-light: #9e85cf;
$custom-dark: #000000;
JSON
{
  "hex": "#7154ba",
  "rgb": {
    "r": 113,
    "g": 84,
    "b": 186
  },
  "hsl": {
    "h": 257.059,
    "s": 42.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.5265,
    "c": 0.1545,
    "h": 293.5
  },
  "luminance": 0.13397
}

Semantic roles & 50–950 ramp

primary
#7154BA
secondary
#BECB9F
accent
#D256AF
background
#FAF8FC
surface
#F3EFF9
border
#CDCAD2
text
#0F0B14
muted
#7F7C82

Preview Lab

Preview with #7154BA

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

Preview Lab → · Contrast checker → · Palette generator →

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