#7251CD#7251CD

#7251CD is a mid, vivid violet. Relative luminance 0.139; OKLCH L 53.6% C 0.183 H 291.2°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#7251CD
RGBrgb(114, 81, 205)
HSLhsl(256, 55%, 56%)
HSVhsv(256, 60%, 80%)
CMYKcmyk(44.4%, 60.5%, 0%, 19.6%)
CIE-LABlab(44.05, 42.97, -59.82)
CIE-LCHlch(44.05, 73.65, 305.69°)
OKLaboklab(53.58% 0.0663 -0.1708)
OKLCHoklch(53.58% 0.183 291.2)
XYZxyz(20.8982, 13.8694, 59.3217)
Luminance0.1387 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7251CD #ACCD51
analogous
#516ECD #7251CD #B051CD
triadic
#7251CD #CD7251 #51CD72
tetradic
#7251CD #CD516E #ACCD51 #51CDB0
square
#7251CD #CD516E #ACCD51 #51CDB0
split-complementary
#7251CD #CDB051 #6ECD51
monochromatic
#3D257F #5332AF #7251CD #9981DB #BFB0E8

Accessibility & contrast

On white

5.56
#7251CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#7251CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7251CD
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7251CD#FFFFFF#000000##FFFFFF
##7251CD1.005.563.775.56
#FFFFFF5.561.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD1
Deuteranopia (green-blind)
#0065CA
Tritanopia (blue-blind)
#576D87
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #7251cd;
/* rgb */ color: rgb(114, 81, 205);
/* oklch */ color: oklch(53.6% 0.183 291.2);
Tailwind
colors: {
  custom: {
    50: '#a183dd',
    500: '#7251cd',
    950: '#000000',
  },
}
SCSS
$custom: #7251cd;
$custom-light: #a183dd;
$custom-dark: #000000;
JSON
{
  "hex": "#7251cd",
  "rgb": {
    "r": 114,
    "g": 81,
    "b": 205
  },
  "hsl": {
    "h": 255.968,
    "s": 55.357,
    "l": 56.078
  },
  "oklch": {
    "l": 0.53583,
    "c": 0.18319,
    "h": 291.2
  },
  "luminance": 0.1387
}

Semantic roles & 50–950 ramp

primary
#7251CD
secondary
#C9D7A3
accent
#DF49B7
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#0F0B15
muted
#7F7C83

Preview Lab

Preview with #7251CD

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

Preview Lab → · Contrast checker → · Palette generator →

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