#7251FC#7251FC

#7251FC is a mid, highly saturated violet. Relative luminance 0.165; OKLCH L 57.3% C 0.240 H 284.8°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#7251FC
RGBrgb(114, 81, 252)
HSLhsl(252, 97%, 65%)
HSVhsv(252, 68%, 99%)
CMYKcmyk(54.8%, 67.9%, 0%, 1.2%)
CIE-LABlab(47.61, 56.31, -80.64)
CIE-LCHlch(47.61, 98.35, 304.93°)
OKLaboklab(57.27% 0.0611 -0.2319)
OKLCHoklch(57.27% 0.24 284.8)
XYZxyz(27.4472, 16.4889, 93.8130)
Luminance0.1649 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7251FC #DBFC51
analogous
#5185FC #7251FC #C751FC
triadic
#7251FC #FC7251 #51FC72
tetradic
#7251FC #FC5185 #DBFC51 #51FCC7
square
#7251FC #FC5185 #DBFC51 #51FCC7
split-complementary
#7251FC #FCC751 #85FC51
monochromatic
#2B04CF #4115FB #7251FC #A38DFD #D4C9FE

Accessibility & contrast

On white

4.89
#7251FC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#7251FC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7251FC
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7251FC#FFFFFF#000000##FFFFFF
##7251FC1.004.894.304.89
#FFFFFF4.891.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076FF
Deuteranopia (green-blind)
#006CF9
Tritanopia (blue-blind)
#317EA0
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #7251fc;
/* rgb */ color: rgb(114, 81, 252);
/* oklch */ color: oklch(57.3% 0.240 284.8);
Tailwind
colors: {
  custom: {
    50: '#a784ff',
    500: '#7251fc',
    950: '#000000',
  },
}
SCSS
$custom: #7251fc;
$custom-light: #a784ff;
$custom-dark: #000000;
JSON
{
  "hex": "#7251fc",
  "rgb": {
    "r": 114,
    "g": 81,
    "b": 252
  },
  "hsl": {
    "h": 251.579,
    "s": 96.61,
    "l": 65.294
  },
  "oklch": {
    "l": 0.57273,
    "c": 0.23986,
    "h": 284.8
  },
  "luminance": 0.16491
}

Semantic roles & 50–950 ramp

primary
#7251FC
secondary
#E6F1B8
accent
#E600B9
background
#FBF8FF
surface
#F6EFFF
border
#D0CAD7
text
#110B18
muted
#807C86

Preview Lab

Preview with #7251FC

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

Preview Lab → · Contrast checker → · Palette generator →

#7251FC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva