#7251CC#7251CC

#7251CC is a mid, vivid violet. Relative luminance 0.138; OKLCH L 53.5% C 0.182 H 291.4°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#7251CC
RGBrgb(114, 81, 204)
HSLhsl(256, 55%, 56%)
HSVhsv(256, 60%, 80%)
CMYKcmyk(44.1%, 60.3%, 0%, 20%)
CIE-LABlab(43.98, 42.69, -59.36)
CIE-LCHlch(43.98, 73.11, 305.72°)
OKLaboklab(53.51% 0.0663 -0.1694)
OKLCHoklch(53.51% 0.182 291.4)
XYZxyz(20.7779, 13.8212, 58.6880)
Luminance0.1382 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7251CC #ABCC51
analogous
#516DCC #7251CC #B051CC
triadic
#7251CC #CC7251 #51CC72
tetradic
#7251CC #CC516D #ABCC51 #51CCB0
square
#7251CC #CC516D #ABCC51 #51CCB0
split-complementary
#7251CC #CCB051 #6DCC51
monochromatic
#3D257E #5433AD #7251CC #9880DA #BFB0E8

Accessibility & contrast

On white

5.58
#7251CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#7251CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7251CC
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7251CC#FFFFFF#000000##FFFFFF
##7251CC1.005.583.765.58
#FFFFFF5.581.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD0
Deuteranopia (green-blind)
#0065C9
Tritanopia (blue-blind)
#586D87
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #7251cc;
/* rgb */ color: rgb(114, 81, 204);
/* oklch */ color: oklch(53.5% 0.182 291.4);
Tailwind
colors: {
  custom: {
    50: '#a183dc',
    500: '#7251cc',
    950: '#000000',
  },
}
SCSS
$custom: #7251cc;
$custom-light: #a183dc;
$custom-dark: #000000;
JSON
{
  "hex": "#7251cc",
  "rgb": {
    "r": 114,
    "g": 81,
    "b": 204
  },
  "hsl": {
    "h": 256.098,
    "s": 54.667,
    "l": 55.882
  },
  "oklch": {
    "l": 0.5351,
    "c": 0.18193,
    "h": 291.4
  },
  "luminance": 0.13822
}

Semantic roles & 50–950 ramp

primary
#7251CC
secondary
#C8D6A3
accent
#DE4AB6
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#0F0B15
muted
#7F7C83

Preview Lab

Preview with #7251CC

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

Preview Lab → · Contrast checker → · Palette generator →

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