#7251BF#7251BF

#7251BF is a mid, vivid violet. Relative luminance 0.132; OKLCH L 52.6% C 0.165 H 293.8°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#7251BF
RGBrgb(114, 81, 191)
HSLhsl(258, 46%, 53%)
HSVhsv(258, 58%, 75%)
CMYKcmyk(40.3%, 57.6%, 0%, 25.1%)
CIE-LABlab(43.10, 39.07, -53.24)
CIE-LCHlch(43.10, 66.04, 306.27°)
OKLaboklab(52.59% 0.0667 -0.1514)
OKLCHoklch(52.59% 0.165 293.8)
XYZxyz(19.2833, 13.2234, 50.8165)
Luminance0.1322 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7251BF #9EBF51
analogous
#5167BF #7251BF #A951BF
triadic
#7251BF #BF7251 #51BF72
tetradic
#7251BF #BF5167 #9EBF51 #51BFA9
square
#7251BF #BF5167 #9EBF51 #51BFA9
split-complementary
#7251BF #BFA951 #67BF51
monochromatic
#3D286D #56399A #7251BF #967ECF #BBAAE0

Accessibility & contrast

On white

5.76
#7251BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#7251BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7251BF
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7251BF#FFFFFF#000000##FFFFFF
##7251BF1.005.763.645.76
#FFFFFF5.761.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1167C3
Deuteranopia (green-blind)
#1F64BD
Tritanopia (blue-blind)
#5E6980
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #7251bf;
/* rgb */ color: rgb(114, 81, 191);
/* oklch */ color: oklch(52.6% 0.165 293.8);
Tailwind
colors: {
  custom: {
    50: '#9f83d3',
    500: '#7251bf',
    950: '#000000',
  },
}
SCSS
$custom: #7251bf;
$custom-light: #9f83d3;
$custom-dark: #000000;
JSON
{
  "hex": "#7251bf",
  "rgb": {
    "r": 114,
    "g": 81,
    "b": 191
  },
  "hsl": {
    "h": 258,
    "s": 46.218,
    "l": 53.333
  },
  "oklch": {
    "l": 0.52587,
    "c": 0.16546,
    "h": 293.8
  },
  "luminance": 0.13224
}

Semantic roles & 50–950 ramp

primary
#7251BF
secondary
#BFCE9E
accent
#D652AE
background
#FAF8FD
surface
#F4EFFA
border
#CECAD3
text
#0F0B14
muted
#7F7C83

Preview Lab

Preview with #7251BF

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

Preview Lab → · Contrast checker → · Palette generator →

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