#7254BF#7254BF

#7254BF is a mid, vivid violet. Relative luminance 0.137; OKLCH L 53.1% C 0.161 H 293.0°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#7254BF
RGBrgb(114, 84, 191)
HSLhsl(257, 46%, 54%)
HSVhsv(257, 56%, 75%)
CMYKcmyk(40.3%, 56%, 0%, 25.1%)
CIE-LABlab(43.77, 37.33, -52.16)
CIE-LCHlch(43.77, 64.14, 305.59°)
OKLaboklab(53.08% 0.063 -0.1482)
OKLCHoklch(53.08% 0.161 293)
XYZxyz(19.5112, 13.6791, 50.8925)
Luminance0.1368 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7254BF #A1BF54
analogous
#546CBF #7254BF #A854BF
triadic
#7254BF #BF7254 #54BF72
tetradic
#7254BF #BF546C #A1BF54 #54BFA8
square
#7254BF #BF546C #A1BF54 #54BFA8
split-complementary
#7254BF #BFA854 #6CBF54
monochromatic
#3D2A6F #563A9C #7254BF #9781D0 #BBADE0

Accessibility & contrast

On white

5.62
#7254BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#7254BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7254BF
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7254BF#FFFFFF#000000##FFFFFF
##7254BF1.005.623.745.62
#FFFFFF5.621.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D69C3
Deuteranopia (green-blind)
#2665BD
Tritanopia (blue-blind)
#5E6B81
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #7254bf;
/* rgb */ color: rgb(114, 84, 191);
/* oklch */ color: oklch(53.1% 0.161 293.0);
Tailwind
colors: {
  custom: {
    50: '#9f85d3',
    500: '#7254bf',
    950: '#000000',
  },
}
SCSS
$custom: #7254bf;
$custom-light: #9f85d3;
$custom-dark: #000000;
JSON
{
  "hex": "#7254bf",
  "rgb": {
    "r": 114,
    "g": 84,
    "b": 191
  },
  "hsl": {
    "h": 256.822,
    "s": 45.532,
    "l": 53.922
  },
  "oklch": {
    "l": 0.53082,
    "c": 0.16109,
    "h": 293
  },
  "luminance": 0.1368
}

Semantic roles & 50–950 ramp

primary
#7254BF
secondary
#C1CEA1
accent
#D553B1
background
#FAF8FD
surface
#F4EFFA
border
#CECAD3
text
#0F0B14
muted
#7F7C83

Preview Lab

Preview with #7254BF

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

Preview Lab → · Contrast checker → · Palette generator →

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