#7248BC#7248BC

#7248BC is a mid, vivid violet. Relative luminance 0.118; OKLCH L 51.0% C 0.175 H 296.3°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#7248BC
RGBrgb(114, 72, 188)
HSLhsl(262, 46%, 51%)
HSVhsv(262, 62%, 74%)
CMYKcmyk(39.4%, 61.7%, 0%, 26.3%)
CIE-LABlab(40.96, 43.35, -54.93)
CIE-LCHlch(40.96, 69.97, 308.28°)
OKLaboklab(50.96% 0.0774 -0.1564)
OKLCHoklch(50.96% 0.175 296.3)
XYZxyz(18.3315, 11.8426, 48.8872)
Luminance0.1184 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7248BC #92BC48
analogous
#4858BC #7248BC #AC48BC
triadic
#7248BC #BC7248 #48BC72
tetradic
#7248BC #BC4858 #92BC48 #48BCAC
square
#7248BC #BC4858 #92BC48 #48BCAC
split-complementary
#7248BC #BCAC48 #58BC48
monochromatic
#3C2565 #573592 #7248BC #9575CC #B7A2DD

Accessibility & contrast

On white

6.23
#7248BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#7248BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7248BC
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7248BC#FFFFFF#000000##FFFFFF
##7248BC1.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C0
Deuteranopia (green-blind)
#0A5FB9
Tritanopia (blue-blind)
#60627B
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #7248bc;
/* rgb */ color: rgb(114, 72, 188);
/* oklch */ color: oklch(51.0% 0.175 296.3);
Tailwind
colors: {
  custom: {
    50: '#a07dd1',
    500: '#7248bc',
    950: '#000000',
  },
}
SCSS
$custom: #7248bc;
$custom-light: #a07dd1;
$custom-dark: #000000;
JSON
{
  "hex": "#7248bc",
  "rgb": {
    "r": 114,
    "g": 72,
    "b": 188
  },
  "hsl": {
    "h": 261.724,
    "s": 46.4,
    "l": 50.98
  },
  "oklch": {
    "l": 0.50963,
    "c": 0.17451,
    "h": 296.3
  },
  "luminance": 0.11843
}

Semantic roles & 50–950 ramp

primary
#7248BC
secondary
#B7CA96
accent
#D652A6
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#0F0A14
muted
#7F7C82

Preview Lab

Preview with #7248BC

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

Preview Lab → · Contrast checker → · Palette generator →

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