#7254C8#7254C8

#7254C8 is a mid, vivid violet. Relative luminance 0.141; OKLCH L 53.7% C 0.173 H 291.4°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#7254C8
RGBrgb(114, 84, 200)
HSLhsl(256, 51%, 56%)
HSVhsv(256, 58%, 78%)
CMYKcmyk(43%, 58%, 0%, 21.6%)
CIE-LABlab(44.36, 39.85, -56.43)
CIE-LCHlch(44.36, 69.08, 305.23°)
OKLaboklab(53.7% 0.063 -0.1608)
OKLCHoklch(53.7% 0.173 291.4)
XYZxyz(20.5322, 14.0875, 56.2697)
Luminance0.1409 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7254C8 #AAC854
analogous
#5470C8 #7254C8 #AC54C8
triadic
#7254C8 #C87254 #54C872
tetradic
#7254C8 #C85470 #AAC854 #54C8AC
square
#7254C8 #C85470 #AAC854 #54C8AC
split-complementary
#7254C8 #C8AC54 #70C854
monochromatic
#3D277A #5436A9 #7254C8 #9882D7 #BEB1E6

Accessibility & contrast

On white

5.50
#7254C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#7254C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7254C8
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7254C8#FFFFFF#000000##FFFFFF
##7254C81.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#026BCC
Deuteranopia (green-blind)
#1366C5
Tritanopia (blue-blind)
#5A6E86
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #7254c8;
/* rgb */ color: rgb(114, 84, 200);
/* oklch */ color: oklch(53.7% 0.173 291.4);
Tailwind
colors: {
  custom: {
    50: '#a085d9',
    500: '#7254c8',
    950: '#000000',
  },
}
SCSS
$custom: #7254c8;
$custom-light: #a085d9;
$custom-dark: #000000;
JSON
{
  "hex": "#7254c8",
  "rgb": {
    "r": 114,
    "g": 84,
    "b": 200
  },
  "hsl": {
    "h": 255.517,
    "s": 51.327,
    "l": 55.686
  },
  "oklch": {
    "l": 0.53704,
    "c": 0.17271,
    "h": 291.4
  },
  "luminance": 0.14088
}

Semantic roles & 50–950 ramp

primary
#7254C8
secondary
#C8D4A4
accent
#DB4DB6
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#0F0B15
muted
#7F7C83

Preview Lab

Preview with #7254C8

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

Preview Lab → · Contrast checker → · Palette generator →

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