#7254CA#7254CA

#7254CA is a mid, vivid violet. Relative luminance 0.142; OKLCH L 53.8% C 0.175 H 291.1°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#7254CA
RGBrgb(114, 84, 202)
HSLhsl(255, 53%, 56%)
HSVhsv(255, 58%, 79%)
CMYKcmyk(43.6%, 58.4%, 0%, 20.8%)
CIE-LABlab(44.49, 40.41, -57.37)
CIE-LCHlch(44.49, 70.17, 305.16°)
OKLaboklab(53.85% 0.063 -0.1636)
OKLCHoklch(53.85% 0.175 291.1)
XYZxyz(20.7675, 14.1816, 57.5088)
Luminance0.1418 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7254CA #ACCA54
analogous
#5471CA #7254CA #AD54CA
triadic
#7254CA #CA7254 #54CA72
tetradic
#7254CA #CA5471 #ACCA54 #54CAAD
square
#7254CA #CA5471 #ACCA54 #54CAAD
split-complementary
#7254CA #CAAD54 #71CA54
monochromatic
#3D277D #5335AC #7254CA #9983D8 #BFB1E7

Accessibility & contrast

On white

5.47
#7254CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#7254CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7254CA
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7254CA#FFFFFF#000000##FFFFFF
##7254CA1.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BCE
Deuteranopia (green-blind)
#0B67C7
Tritanopia (blue-blind)
#596E87
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #7254ca;
/* rgb */ color: rgb(114, 84, 202);
/* oklch */ color: oklch(53.8% 0.175 291.1);
Tailwind
colors: {
  custom: {
    50: '#a085db',
    500: '#7254ca',
    950: '#000000',
  },
}
SCSS
$custom: #7254ca;
$custom-light: #a085db;
$custom-dark: #000000;
JSON
{
  "hex": "#7254ca",
  "rgb": {
    "r": 114,
    "g": 84,
    "b": 202
  },
  "hsl": {
    "h": 255.254,
    "s": 52.679,
    "l": 56.078
  },
  "oklch": {
    "l": 0.53845,
    "c": 0.17527,
    "h": 291.1
  },
  "luminance": 0.14182
}

Semantic roles & 50–950 ramp

primary
#7254CA
secondary
#C9D5A5
accent
#DC4CB7
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#0F0B15
muted
#7F7C83

Preview Lab

Preview with #7254CA

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

Preview Lab → · Contrast checker → · Palette generator →

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