#7154BF#7154BF

#7154BF is a mid, vivid violet. Relative luminance 0.136; OKLCH L 53.0% C 0.161 H 292.5°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#7154BF
RGBrgb(113, 84, 191)
HSLhsl(256, 46%, 54%)
HSVhsv(256, 56%, 75%)
CMYKcmyk(40.8%, 56%, 0%, 25.1%)
CIE-LABlab(43.67, 37.09, -52.32)
CIE-LCHlch(43.67, 64.14, 305.33°)
OKLaboklab(52.99% 0.0617 -0.1488)
OKLCHoklch(52.99% 0.161 292.5)
XYZxyz(19.3818, 13.6124, 50.8864)
Luminance0.1361 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7154BF #A2BF54
analogous
#546DBF #7154BF #A754BF
triadic
#7154BF #BF7154 #54BF71
tetradic
#7154BF #BF546D #A2BF54 #54BFA7
square
#7154BF #BF546D #A2BF54 #54BFA7
split-complementary
#7154BF #BFA754 #6DBF54
monochromatic
#3C2A6F #553A9C #7154BF #9681D0 #BBADE0

Accessibility & contrast

On white

5.64
#7154BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#7154BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7154BF
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7154BF#FFFFFF#000000##FFFFFF
##7154BF1.005.643.725.64
#FFFFFF5.641.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C69C3
Deuteranopia (green-blind)
#2565BD
Tritanopia (blue-blind)
#5C6B81
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #7154bf;
/* rgb */ color: rgb(113, 84, 191);
/* oklch */ color: oklch(53.0% 0.161 292.5);
Tailwind
colors: {
  custom: {
    50: '#9e85d3',
    500: '#7154bf',
    950: '#000000',
  },
}
SCSS
$custom: #7154bf;
$custom-light: #9e85d3;
$custom-dark: #000000;
JSON
{
  "hex": "#7154bf",
  "rgb": {
    "r": 113,
    "g": 84,
    "b": 191
  },
  "hsl": {
    "h": 256.262,
    "s": 45.532,
    "l": 53.922
  },
  "oklch": {
    "l": 0.52987,
    "c": 0.16106,
    "h": 292.5
  },
  "luminance": 0.13613
}

Semantic roles & 50–950 ramp

primary
#7154BF
secondary
#C2CEA1
accent
#D553B2
background
#FAF8FD
surface
#F4EFFA
border
#CECAD3
text
#0F0B14
muted
#7F7C83

Preview Lab

Preview with #7154BF

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

Preview Lab → · Contrast checker → · Palette generator →

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