#7251FD#7251FD

#7251FD is a mid, highly saturated violet. Relative luminance 0.166; OKLCH L 57.4% C 0.241 H 284.7°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#7251FD
RGBrgb(114, 81, 253)
HSLhsl(252, 98%, 65%)
HSVhsv(252, 68%, 99%)
CMYKcmyk(54.9%, 68%, 0%, 0.8%)
CIE-LABlab(47.69, 56.59, -81.06)
CIE-LCHlch(47.69, 98.86, 304.92°)
OKLaboklab(57.36% 0.061 -0.2332)
OKLCHoklch(57.36% 0.241 284.7)
XYZxyz(27.6061, 16.5525, 94.6497)
Luminance0.1655 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7251FD #DCFD51
analogous
#5186FD #7251FD #C851FD
triadic
#7251FD #FD7251 #51FD72
tetradic
#7251FD #FD5186 #DCFD51 #51FDC8
square
#7251FD #FD5186 #DCFD51 #51FDC8
split-complementary
#7251FD #FDC851 #86FD51
monochromatic
#2A02D1 #4114FC #7251FD #A38EFE #D4CAFE

Accessibility & contrast

On white

4.87
#7251FD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#7251FD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7251FD
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7251FD#FFFFFF#000000##FFFFFF
##7251FD1.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076FF
Deuteranopia (green-blind)
#006CFA
Tritanopia (blue-blind)
#307EA1
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #7251fd;
/* rgb */ color: rgb(114, 81, 253);
/* oklch */ color: oklch(57.4% 0.241 284.7);
Tailwind
colors: {
  custom: {
    50: '#a784ff',
    500: '#7251fd',
    950: '#000000',
  },
}
SCSS
$custom: #7251fd;
$custom-light: #a784ff;
$custom-dark: #000000;
JSON
{
  "hex": "#7251fd",
  "rgb": {
    "r": 114,
    "g": 81,
    "b": 253
  },
  "hsl": {
    "h": 251.512,
    "s": 97.727,
    "l": 65.49
  },
  "oklch": {
    "l": 0.57356,
    "c": 0.24103,
    "h": 284.7
  },
  "luminance": 0.16554
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7251FD

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

Preview Lab → · Contrast checker → · Palette generator →

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