#7254FF#7254FF

#7254FF is a mid, highly saturated violet. Relative luminance 0.171; OKLCH L 57.9% C 0.240 H 284.0°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#7254FF
RGBrgb(114, 84, 255)
HSLhsl(251, 100%, 66%)
HSVhsv(251, 67%, 100%)
CMYKcmyk(55.3%, 67.1%, 0%, 0%)
CIE-LABlab(48.43, 55.58, -80.96)
CIE-LCHlch(48.43, 98.21, 304.47°)
OKLaboklab(57.94% 0.0582 -0.2329)
OKLCHoklch(57.94% 0.24 284)
XYZxyz(28.1542, 17.1364, 96.4124)
Luminance0.1714 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7254FF #E1FF54
analogous
#548CFF #7254FF #C754FF
triadic
#7254FF #FF7254 #54FF72
tetradic
#7254FF #FF548C #E1FF54 #54FFC7
square
#7254FF #FF548C #E1FF54 #54FFC7
split-complementary
#7254FF #FFC754 #8CFF54
monochromatic
#2600D9 #4017FF #7254FF #A491FF #D7CEFF

Accessibility & contrast

On white

4.74
#7254FF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#7254FF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7254FF
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7254FF#FFFFFF#000000##FFFFFF
##7254FF1.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0078FF
Deuteranopia (green-blind)
#006DFC
Tritanopia (blue-blind)
#2C80A3
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #7254ff;
/* rgb */ color: rgb(114, 84, 255);
/* oklch */ color: oklch(57.9% 0.240 284.0);
Tailwind
colors: {
  custom: {
    50: '#a786ff',
    500: '#7254ff',
    950: '#000000',
  },
}
SCSS
$custom: #7254ff;
$custom-light: #a786ff;
$custom-dark: #000000;
JSON
{
  "hex": "#7254ff",
  "rgb": {
    "r": 114,
    "g": 84,
    "b": 255
  },
  "hsl": {
    "h": 250.526,
    "s": 100,
    "l": 66.471
  },
  "oklch": {
    "l": 0.57937,
    "c": 0.24006,
    "h": 284
  },
  "luminance": 0.17138
}

Semantic roles & 50–950 ramp

primary
#7254FF
secondary
#E9F3BC
accent
#E600BD
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110B18
muted
#807C86

Preview Lab

Preview with #7254FF

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

Preview Lab → · Contrast checker → · Palette generator →

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