#7251BE#7251BE

#7251BE is a mid, vivid violet. Relative luminance 0.132; OKLCH L 52.5% C 0.164 H 294.0°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#7251BE
RGBrgb(114, 81, 190)
HSLhsl(258, 46%, 53%)
HSVhsv(258, 57%, 75%)
CMYKcmyk(40%, 57.4%, 0%, 25.5%)
CIE-LABlab(43.03, 38.79, -52.77)
CIE-LCHlch(43.03, 65.49, 306.32°)
OKLaboklab(52.52% 0.0667 -0.15)
OKLCHoklch(52.52% 0.164 294)
XYZxyz(19.1737, 13.1795, 50.2389)
Luminance0.1318 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7251BE #9DBE51
analogous
#5166BE #7251BE #A851BE
triadic
#7251BE #BE7251 #51BE72
tetradic
#7251BE #BE5166 #9DBE51 #51BEA8
square
#7251BE #BE5166 #9DBE51 #51BEA8
split-complementary
#7251BE #BEA851 #66BE51
monochromatic
#3D286C #563999 #7251BE #967ECF #BAAADF

Accessibility & contrast

On white

5.78
#7251BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #7251BE
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7251BE#FFFFFF#000000##FFFFFF
##7251BE1.005.783.645.78
#FFFFFF5.781.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1367C2
Deuteranopia (green-blind)
#2164BC
Tritanopia (blue-blind)
#5E6880
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #7251be;
/* rgb */ color: rgb(114, 81, 190);
/* oklch */ color: oklch(52.5% 0.164 294.0);
Tailwind
colors: {
  custom: {
    50: '#9f83d2',
    500: '#7251be',
    950: '#000000',
  },
}
SCSS
$custom: #7251be;
$custom-light: #9f83d2;
$custom-dark: #000000;
JSON
{
  "hex": "#7251be",
  "rgb": {
    "r": 114,
    "g": 81,
    "b": 190
  },
  "hsl": {
    "h": 258.165,
    "s": 45.607,
    "l": 53.137
  },
  "oklch": {
    "l": 0.52518,
    "c": 0.16418,
    "h": 294
  },
  "luminance": 0.1318
}

Semantic roles & 50–950 ramp

primary
#7251BE
secondary
#BFCD9E
accent
#D553AE
background
#FAF8FD
surface
#F4EFFA
border
#CECAD3
text
#0F0B14
muted
#7F7C83

Preview Lab

Preview with #7251BE

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

Preview Lab → · Contrast checker → · Palette generator →

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