#7454F2#7454F2

#7454F2 is a mid, highly saturated violet. Relative luminance 0.165; OKLCH L 57.0% C 0.225 H 286.2°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#7454F2
RGBrgb(116, 84, 242)
HSLhsl(252, 86%, 64%)
HSVhsv(252, 65%, 95%)
CMYKcmyk(52.1%, 65.3%, 0%, 5.1%)
CIE-LABlab(47.58, 52.17, -75.10)
CIE-LCHlch(47.58, 91.44, 304.79°)
OKLaboklab(57.05% 0.0626 -0.2156)
OKLCHoklch(57.05% 0.225 286.2)
XYZxyz(26.3950, 16.4631, 85.7741)
Luminance0.1646 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7454F2 #D2F254
analogous
#5483F2 #7454F2 #C354F2
triadic
#7454F2 #F27454 #54F274
tetradic
#7454F2 #F25483 #D2F254 #54F2C3
square
#7454F2 #F25483 #D2F254 #54F2C3
split-complementary
#7454F2 #F2C354 #83F254
monochromatic
#320EBD #461BEE #7454F2 #A28DF6 #D0C6FB

Accessibility & contrast

On white

4.89
#7454F2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#7454F2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7454F2
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7454F2#FFFFFF#000000##FFFFFF
##7454F21.004.894.294.89
#FFFFFF4.891.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075F7
Deuteranopia (green-blind)
#006CEF
Tritanopia (blue-blind)
#427C9C
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #7454f2;
/* rgb */ color: rgb(116, 84, 242);
/* oklch */ color: oklch(57.0% 0.225 286.2);
Tailwind
colors: {
  custom: {
    50: '#a686f7',
    500: '#7454f2',
    950: '#000000',
  },
}
SCSS
$custom: #7454f2;
$custom-light: #a686f7;
$custom-dark: #000000;
JSON
{
  "hex": "#7454f2",
  "rgb": {
    "r": 116,
    "g": 84,
    "b": 242
  },
  "hsl": {
    "h": 252.152,
    "s": 85.87,
    "l": 63.922
  },
  "oklch": {
    "l": 0.57045,
    "c": 0.22452,
    "h": 286.2
  },
  "luminance": 0.16464
}

Semantic roles & 50–950 ramp

primary
#7454F2
secondary
#E1EDB5
accent
#E203B5
background
#FAF8FF
surface
#F5EFFF
border
#CFCAD7
text
#110B17
muted
#807C85

Preview Lab

Preview with #7454F2

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

Preview Lab → · Contrast checker → · Palette generator →

#7454F2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva