#7254F5#7254F5

#7254F5 is a mid, highly saturated violet. Relative luminance 0.165; OKLCH L 57.1% C 0.228 H 285.1°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#7254F5
RGBrgb(114, 84, 245)
HSLhsl(251, 89%, 65%)
HSVhsv(251, 66%, 96%)
CMYKcmyk(53.5%, 65.7%, 0%, 3.9%)
CIE-LABlab(47.64, 52.71, -76.69)
CIE-LCHlch(47.64, 93.05, 304.50°)
OKLaboklab(57.12% 0.0596 -0.2203)
OKLCHoklch(57.12% 0.228 285.1)
XYZxyz(26.5862, 16.5091, 88.1542)
Luminance0.1651 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7254F5 #D7F554
analogous
#5487F5 #7254F5 #C254F5
triadic
#7254F5 #F57254 #54F572
tetradic
#7254F5 #F55487 #D7F554 #54F5C2
square
#7254F5 #F55487 #D7F554 #54F5C2
split-complementary
#7254F5 #F5C254 #87F554
monochromatic
#2E0BC3 #421AF2 #7254F5 #A28EF8 #D1C8FC

Accessibility & contrast

On white

4.88
#7254F5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#7254F5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7254F5
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7254F5#FFFFFF#000000##FFFFFF
##7254F51.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076FA
Deuteranopia (green-blind)
#006CF2
Tritanopia (blue-blind)
#397D9E
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #7254f5;
/* rgb */ color: rgb(114, 84, 245);
/* oklch */ color: oklch(57.1% 0.228 285.1);
Tailwind
colors: {
  custom: {
    50: '#a686fa',
    500: '#7254f5',
    950: '#000000',
  },
}
SCSS
$custom: #7254f5;
$custom-light: #a686fa;
$custom-dark: #000000;
JSON
{
  "hex": "#7254f5",
  "rgb": {
    "r": 114,
    "g": 84,
    "b": 245
  },
  "hsl": {
    "h": 251.18,
    "s": 88.95,
    "l": 64.51
  },
  "oklch": {
    "l": 0.57118,
    "c": 0.22826,
    "h": 285.1
  },
  "luminance": 0.16511
}

Semantic roles & 50–950 ramp

primary
#7254F5
secondary
#E4EEB7
accent
#E600BB
background
#FAF8FF
surface
#F5EFFF
border
#CFCAD7
text
#110B17
muted
#807C85

Preview Lab

Preview with #7254F5

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

Preview Lab → · Contrast checker → · Palette generator →

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