#7248BD#7248BD

#7248BD is a mid, vivid violet. Relative luminance 0.119; OKLCH L 51.0% C 0.176 H 296.1°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#7248BD
RGBrgb(114, 72, 189)
HSLhsl(262, 47%, 51%)
HSVhsv(262, 62%, 74%)
CMYKcmyk(39.7%, 61.9%, 0%, 25.9%)
CIE-LABlab(41.03, 43.61, -55.40)
CIE-LCHlch(41.03, 70.51, 308.21°)
OKLaboklab(51.04% 0.0774 -0.1578)
OKLCHoklch(51.04% 0.176 296.1)
XYZxyz(18.4397, 11.8859, 49.4569)
Luminance0.1189 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7248BD #93BD48
analogous
#4858BD #7248BD #AC48BD
triadic
#7248BD #BD7248 #48BD72
tetradic
#7248BD #BD4858 #93BD48 #48BDAC
square
#7248BD #BD4858 #93BD48 #48BDAC
split-complementary
#7248BD #BDAC48 #58BD48
monochromatic
#3C2566 #573593 #7248BD #9575CD #B7A2DD

Accessibility & contrast

On white

6.22
#7248BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#7248BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7248BD
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7248BD#FFFFFF#000000##FFFFFF
##7248BD1.006.223.386.22
#FFFFFF6.221.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C1
Deuteranopia (green-blind)
#055FBA
Tritanopia (blue-blind)
#5F627C
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #7248bd;
/* rgb */ color: rgb(114, 72, 189);
/* oklch */ color: oklch(51.0% 0.176 296.1);
Tailwind
colors: {
  custom: {
    50: '#a07dd2',
    500: '#7248bd',
    950: '#000000',
  },
}
SCSS
$custom: #7248bd;
$custom-light: #a07dd2;
$custom-dark: #000000;
JSON
{
  "hex": "#7248bd",
  "rgb": {
    "r": 114,
    "g": 72,
    "b": 189
  },
  "hsl": {
    "h": 261.538,
    "s": 46.988,
    "l": 51.176
  },
  "oklch": {
    "l": 0.51035,
    "c": 0.17574,
    "h": 296.1
  },
  "luminance": 0.11886
}

Semantic roles & 50–950 ramp

primary
#7248BD
secondary
#B8CA97
accent
#D751A7
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#0F0A14
muted
#7F7C83

Preview Lab

Preview with #7248BD

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

Preview Lab → · Contrast checker → · Palette generator →

#7248BD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva