#7251D2#7251D2

#7251D2 is a mid, vivid violet. Relative luminance 0.141; OKLCH L 54.0% C 0.189 H 290.4°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#7251D2
RGBrgb(114, 81, 210)
HSLhsl(255, 59%, 57%)
HSVhsv(255, 61%, 82%)
CMYKcmyk(45.7%, 61.4%, 0%, 17.6%)
CIE-LABlab(44.40, 44.37, -62.13)
CIE-LCHlch(44.40, 76.35, 305.54°)
OKLaboklab(53.95% 0.066 -0.1776)
OKLCHoklch(53.95% 0.189 290.4)
XYZxyz(21.5114, 14.1146, 62.5512)
Luminance0.1411 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7251D2 #B1D251
analogous
#5171D2 #7251D2 #B351D2
triadic
#7251D2 #D27251 #51D272
tetradic
#7251D2 #D25171 #B1D251 #51D2B3
square
#7251D2 #D25171 #B1D251 #51D2B3
split-complementary
#7251D2 #D2B351 #71D251
monochromatic
#3C2386 #522FB7 #7251D2 #9982DF #C1B2EB

Accessibility & contrast

On white

5.49
#7251D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#7251D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7251D2
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7251D2#FFFFFF#000000##FFFFFF
##7251D21.005.493.825.49
#FFFFFF5.491.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD6
Deuteranopia (green-blind)
#0066CF
Tritanopia (blue-blind)
#546F8A
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #7251d2;
/* rgb */ color: rgb(114, 81, 210);
/* oklch */ color: oklch(54.0% 0.189 290.4);
Tailwind
colors: {
  custom: {
    50: '#a183e1',
    500: '#7251d2',
    950: '#000000',
  },
}
SCSS
$custom: #7251d2;
$custom-light: #a183e1;
$custom-dark: #000000;
JSON
{
  "hex": "#7251d2",
  "rgb": {
    "r": 114,
    "g": 81,
    "b": 210
  },
  "hsl": {
    "h": 255.349,
    "s": 58.904,
    "l": 57.059
  },
  "oklch": {
    "l": 0.53951,
    "c": 0.18943,
    "h": 290.4
  },
  "luminance": 0.14115
}

Semantic roles & 50–950 ramp

primary
#7251D2
secondary
#CCDAA5
accent
#E246BA
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #7251D2

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

Preview Lab → · Contrast checker → · Palette generator →

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