#7254CF#7254CF

#7254CF is a mid, vivid violet. Relative luminance 0.144; OKLCH L 54.2% C 0.182 H 290.2°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#7254CF
RGBrgb(114, 84, 207)
HSLhsl(255, 56%, 57%)
HSVhsv(255, 59%, 81%)
CMYKcmyk(44.9%, 59.4%, 0%, 18.8%)
CIE-LABlab(44.83, 41.82, -59.70)
CIE-LCHlch(44.83, 72.89, 305.01°)
OKLaboklab(54.2% 0.0629 -0.1704)
OKLCHoklch(54.2% 0.182 290.2)
XYZxyz(21.3691, 14.4223, 60.6772)
Luminance0.1442 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7254CF #B1CF54
analogous
#5474CF #7254CF #AF54CF
triadic
#7254CF #CF7254 #54CF72
tetradic
#7254CF #CF5474 #B1CF54 #54CFAF
square
#7254CF #CF5474 #B1CF54 #54CFAF
split-complementary
#7254CF #CFAF54 #74CF54
monochromatic
#3C2584 #5232B3 #7254CF #9984DC #C1B4EA

Accessibility & contrast

On white

5.41
#7254CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#7254CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7254CF
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7254CF#FFFFFF#000000##FFFFFF
##7254CF1.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD3
Deuteranopia (green-blind)
#0067CC
Tritanopia (blue-blind)
#567089
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #7254cf;
/* rgb */ color: rgb(114, 84, 207);
/* oklch */ color: oklch(54.2% 0.182 290.2);
Tailwind
colors: {
  custom: {
    50: '#a185de',
    500: '#7254cf',
    950: '#000000',
  },
}
SCSS
$custom: #7254cf;
$custom-light: #a185de;
$custom-dark: #000000;
JSON
{
  "hex": "#7254cf",
  "rgb": {
    "r": 114,
    "g": 84,
    "b": 207
  },
  "hsl": {
    "h": 254.634,
    "s": 56.164,
    "l": 57.059
  },
  "oklch": {
    "l": 0.54203,
    "c": 0.18163,
    "h": 290.2
  },
  "luminance": 0.14423
}

Semantic roles & 50–950 ramp

primary
#7254CF
secondary
#CCD8A6
accent
#DF48BB
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#0F0B15
muted
#7F7C83

Preview Lab

Preview with #7254CF

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

Preview Lab → · Contrast checker → · Palette generator →

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