#7251C8#7251C8

#7251C8 is a mid, vivid violet. Relative luminance 0.136; OKLCH L 53.2% C 0.177 H 292.1°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#7251C8
RGBrgb(114, 81, 200)
HSLhsl(257, 52%, 55%)
HSVhsv(257, 60%, 78%)
CMYKcmyk(43%, 59.5%, 0%, 21.6%)
CIE-LABlab(43.70, 41.57, -57.49)
CIE-LCHlch(43.70, 70.95, 305.87°)
OKLaboklab(53.22% 0.0665 -0.1639)
OKLCHoklch(53.22% 0.177 292.1)
XYZxyz(20.3043, 13.6318, 56.1938)
Luminance0.1363 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7251C8 #A7C851
analogous
#516BC8 #7251C8 #AE51C8
triadic
#7251C8 #C87251 #51C872
tetradic
#7251C8 #C8516B #A7C851 #51C8AE
square
#7251C8 #C8516B #A7C851 #51C8AE
split-complementary
#7251C8 #C8AE51 #6BC851
monochromatic
#3D2679 #5435A7 #7251C8 #9880D7 #BDAEE5

Accessibility & contrast

On white

5.64
#7251C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#7251C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7251C8
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7251C8#FFFFFF#000000##FFFFFF
##7251C81.005.643.735.64
#FFFFFF5.641.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069CC
Deuteranopia (green-blind)
#0365C5
Tritanopia (blue-blind)
#5A6C85
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #7251c8;
/* rgb */ color: rgb(114, 81, 200);
/* oklch */ color: oklch(53.2% 0.177 292.1);
Tailwind
colors: {
  custom: {
    50: '#a083d9',
    500: '#7251c8',
    950: '#000000',
  },
}
SCSS
$custom: #7251c8;
$custom-light: #a083d9;
$custom-dark: #000000;
JSON
{
  "hex": "#7251c8",
  "rgb": {
    "r": 114,
    "g": 81,
    "b": 200
  },
  "hsl": {
    "h": 256.639,
    "s": 51.965,
    "l": 55.098
  },
  "oklch": {
    "l": 0.53221,
    "c": 0.1769,
    "h": 292.1
  },
  "luminance": 0.13632
}

Semantic roles & 50–950 ramp

primary
#7251C8
secondary
#C6D3A1
accent
#DB4CB4
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#0F0B15
muted
#7F7C83

Preview Lab

Preview with #7251C8

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

Preview Lab → · Contrast checker → · Palette generator →

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