#7154BC#7154BC

#7154BC is a mid, vivid violet. Relative luminance 0.135; OKLCH L 52.8% C 0.157 H 293.1°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#7154BC
RGBrgb(113, 84, 188)
HSLhsl(257, 44%, 53%)
HSVhsv(257, 55%, 74%)
CMYKcmyk(39.9%, 55.3%, 0%, 26.3%)
CIE-LABlab(43.48, 36.26, -50.88)
CIE-LCHlch(43.48, 62.48, 305.47°)
OKLaboklab(52.78% 0.0617 -0.1445)
OKLCHoklch(52.78% 0.157 293.1)
XYZxyz(19.0551, 13.4817, 49.1655)
Luminance0.1348 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7154BC #9FBC54
analogous
#546BBC #7154BC #A554BC
triadic
#7154BC #BC7154 #54BC71
tetradic
#7154BC #BC546B #9FBC54 #54BCA5
square
#7154BC #BC546B #9FBC54 #54BCA5
split-complementary
#7154BC #BCA554 #6BBC54
monochromatic
#3C2A6B #553B97 #7154BC #9680CD #BAACDE

Accessibility & contrast

On white

5.68
#7154BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#7154BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7154BC
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7154BC#FFFFFF#000000##FFFFFF
##7154BC1.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2168C0
Deuteranopia (green-blind)
#2965BA
Tritanopia (blue-blind)
#5D6A80
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #7154bc;
/* rgb */ color: rgb(113, 84, 188);
/* oklch */ color: oklch(52.8% 0.157 293.1);
Tailwind
colors: {
  custom: {
    50: '#9e85d1',
    500: '#7154bc',
    950: '#000000',
  },
}
SCSS
$custom: #7154bc;
$custom-light: #9e85d1;
$custom-dark: #000000;
JSON
{
  "hex": "#7154bc",
  "rgb": {
    "r": 113,
    "g": 84,
    "b": 188
  },
  "hsl": {
    "h": 256.731,
    "s": 43.697,
    "l": 53.333
  },
  "oklch": {
    "l": 0.52784,
    "c": 0.15713,
    "h": 293.1
  },
  "luminance": 0.13482
}

Semantic roles & 50–950 ramp

primary
#7154BC
secondary
#C0CCA0
accent
#D354B0
background
#FAF8FC
surface
#F3EFF9
border
#CDCAD2
text
#0F0B14
muted
#7F7C82

Preview Lab

Preview with #7154BC

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

Preview Lab → · Contrast checker → · Palette generator →

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