#7251DA#7251DA

#7251DA is a mid, vivid violet. Relative luminance 0.145; OKLCH L 54.6% C 0.199 H 289.2°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#7251DA
RGBrgb(114, 81, 218)
HSLhsl(254, 65%, 59%)
HSVhsv(254, 63%, 85%)
CMYKcmyk(47.7%, 62.8%, 0%, 14.5%)
CIE-LABlab(44.97, 46.63, -65.77)
CIE-LCHlch(44.97, 80.63, 305.34°)
OKLaboklab(54.55% 0.0654 -0.1883)
OKLCHoklch(54.55% 0.199 289.2)
XYZxyz(22.5331, 14.5233, 67.9321)
Luminance0.1452 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7251DA #B9DA51
analogous
#5174DA #7251DA #B751DA
triadic
#7251DA #DA7251 #51DA72
tetradic
#7251DA #DA5174 #B9DA51 #51DAB7
square
#7251DA #DA5174 #B9DA51 #51DAB7
split-complementary
#7251DA #DAB751 #74DA51
monochromatic
#3B1F92 #4F2AC4 #7251DA #9B83E5 #C4B6EF

Accessibility & contrast

On white

5.38
#7251DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#7251DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7251DA
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7251DA#FFFFFF#000000##FFFFFF
##7251DA1.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DDE
Deuteranopia (green-blind)
#0067D7
Tritanopia (blue-blind)
#50728E
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #7251da;
/* rgb */ color: rgb(114, 81, 218);
/* oklch */ color: oklch(54.6% 0.199 289.2);
Tailwind
colors: {
  custom: {
    50: '#a283e6',
    500: '#7251da',
    950: '#000000',
  },
}
SCSS
$custom: #7251da;
$custom-light: #a283e6;
$custom-dark: #000000;
JSON
{
  "hex": "#7251da",
  "rgb": {
    "r": 114,
    "g": 81,
    "b": 218
  },
  "hsl": {
    "h": 254.453,
    "s": 64.929,
    "l": 58.627
  },
  "oklch": {
    "l": 0.54553,
    "c": 0.1993,
    "h": 289.2
  },
  "luminance": 0.14524
}

Semantic roles & 50–950 ramp

primary
#7251DA
secondary
#D1DEA8
accent
#E840BF
background
#FAF8FE
surface
#F4EFFC
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #7251DA

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

Preview Lab → · Contrast checker → · Palette generator →

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