#7251CF#7251CF

#7251CF is a mid, vivid violet. Relative luminance 0.140; OKLCH L 53.7% C 0.186 H 290.9°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#7251CF
RGBrgb(114, 81, 207)
HSLhsl(256, 57%, 56%)
HSVhsv(256, 61%, 81%)
CMYKcmyk(44.9%, 60.9%, 0%, 18.8%)
CIE-LABlab(44.18, 43.53, -60.75)
CIE-LCHlch(44.18, 74.73, 305.62°)
OKLaboklab(53.73% 0.0662 -0.1735)
OKLCHoklch(53.73% 0.186 290.9)
XYZxyz(21.1412, 13.9665, 60.6013)
Luminance0.1397 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7251CF #AECF51
analogous
#516FCF #7251CF #B151CF
triadic
#7251CF #CF7251 #51CF72
tetradic
#7251CF #CF516F #AECF51 #51CFB1
square
#7251CF #CF516F #AECF51 #51CFB1
split-complementary
#7251CF #CFB151 #6FCF51
monochromatic
#3C2482 #5331B2 #7251CF #9981DC #C0B1E9

Accessibility & contrast

On white

5.54
#7251CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#7251CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7251CF
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7251CF#FFFFFF#000000##FFFFFF
##7251CF1.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD3
Deuteranopia (green-blind)
#0066CC
Tritanopia (blue-blind)
#566E88
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #7251cf;
/* rgb */ color: rgb(114, 81, 207);
/* oklch */ color: oklch(53.7% 0.186 290.9);
Tailwind
colors: {
  custom: {
    50: '#a183de',
    500: '#7251cf',
    950: '#000000',
  },
}
SCSS
$custom: #7251cf;
$custom-light: #a183de;
$custom-dark: #000000;
JSON
{
  "hex": "#7251cf",
  "rgb": {
    "r": 114,
    "g": 81,
    "b": 207
  },
  "hsl": {
    "h": 255.714,
    "s": 56.757,
    "l": 56.471
  },
  "oklch": {
    "l": 0.53729,
    "c": 0.18569,
    "h": 290.9
  },
  "luminance": 0.13967
}

Semantic roles & 50–950 ramp

primary
#7251CF
secondary
#CAD8A4
accent
#E048B8
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#0F0B15
muted
#7F7C83

Preview Lab

Preview with #7251CF

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

Preview Lab → · Contrast checker → · Palette generator →

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