#7254F8#7254F8

#7254F8 is a mid, highly saturated violet. Relative luminance 0.167; OKLCH L 57.4% C 0.232 H 284.8°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#7254F8
RGBrgb(114, 84, 248)
HSLhsl(251, 92%, 65%)
HSVhsv(251, 66%, 97%)
CMYKcmyk(54%, 66.1%, 0%, 2.7%)
CIE-LABlab(47.87, 53.57, -77.98)
CIE-LCHlch(47.87, 94.61, 304.49°)
OKLaboklab(57.36% 0.0592 -0.2241)
OKLCHoklch(57.36% 0.232 284.8)
XYZxyz(27.0479, 16.6938, 90.5857)
Luminance0.1669 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7254F8 #DAF854
analogous
#5488F8 #7254F8 #C454F8
triadic
#7254F8 #F87254 #54F872
tetradic
#7254F8 #F85488 #DAF854 #54F8C4
square
#7254F8 #F85488 #DAF854 #54F8C4
split-complementary
#7254F8 #F8C454 #88F854
monochromatic
#2C08C9 #4219F6 #7254F8 #A28FFA #D3CAFD

Accessibility & contrast

On white

4.84
#7254F8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#7254F8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7254F8
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7254F8#FFFFFF#000000##FFFFFF
##7254F81.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076FD
Deuteranopia (green-blind)
#006CF5
Tritanopia (blue-blind)
#367E9F
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #7254f8;
/* rgb */ color: rgb(114, 84, 248);
/* oklch */ color: oklch(57.4% 0.232 284.8);
Tailwind
colors: {
  custom: {
    50: '#a686fc',
    500: '#7254f8',
    950: '#000000',
  },
}
SCSS
$custom: #7254f8;
$custom-light: #a686fc;
$custom-dark: #000000;
JSON
{
  "hex": "#7254f8",
  "rgb": {
    "r": 114,
    "g": 84,
    "b": 248
  },
  "hsl": {
    "h": 250.976,
    "s": 92.135,
    "l": 65.098
  },
  "oklch": {
    "l": 0.57362,
    "c": 0.23182,
    "h": 284.8
  },
  "luminance": 0.16695
}

Semantic roles & 50–950 ramp

primary
#7254F8
secondary
#E6F0B8
accent
#E600BC
background
#FBF8FF
surface
#F6EFFF
border
#D0CAD7
text
#110B18
muted
#807C86

Preview Lab

Preview with #7254F8

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

Preview Lab → · Contrast checker → · Palette generator →

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