#7248BA#7248BA

#7248BA is a mid, vivid violet. Relative luminance 0.118; OKLCH L 50.8% C 0.172 H 296.8°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#7248BA
RGBrgb(114, 72, 186)
HSLhsl(262, 45%, 51%)
HSVhsv(262, 61%, 73%)
CMYKcmyk(38.7%, 61.3%, 0%, 27.1%)
CIE-LABlab(40.83, 42.81, -53.98)
CIE-LCHlch(40.83, 68.90, 308.42°)
OKLaboklab(50.82% 0.0775 -0.1536)
OKLCHoklch(50.82% 0.172 296.8)
XYZxyz(18.1174, 11.7570, 47.7596)
Luminance0.1176 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7248BA #90BA48
analogous
#4857BA #7248BA #AB48BA
triadic
#7248BA #BA7248 #48BA72
tetradic
#7248BA #BA4857 #90BA48 #48BAAB
square
#7248BA #BA4857 #90BA48 #48BAAB
split-complementary
#7248BA #BAAB48 #57BA48
monochromatic
#3C2562 #57368F #7248BA #9474CB #B6A1DC

Accessibility & contrast

On white

6.27
#7248BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#7248BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7248BA
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7248BA#FFFFFF#000000##FFFFFF
##7248BA1.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061BE
Deuteranopia (green-blind)
#115FB8
Tritanopia (blue-blind)
#61617A
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #7248ba;
/* rgb */ color: rgb(114, 72, 186);
/* oklch */ color: oklch(50.8% 0.172 296.8);
Tailwind
colors: {
  custom: {
    50: '#9f7dcf',
    500: '#7248ba',
    950: '#000000',
  },
}
SCSS
$custom: #7248ba;
$custom-light: #9f7dcf;
$custom-dark: #000000;
JSON
{
  "hex": "#7248ba",
  "rgb": {
    "r": 114,
    "g": 72,
    "b": 186
  },
  "hsl": {
    "h": 262.105,
    "s": 45.238,
    "l": 50.588
  },
  "oklch": {
    "l": 0.50819,
    "c": 0.17207,
    "h": 296.8
  },
  "luminance": 0.11757
}

Semantic roles & 50–950 ramp

primary
#7248BA
secondary
#B6C896
accent
#D553A5
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#0F0A14
muted
#7F7C82

Preview Lab

Preview with #7248BA

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

Preview Lab → · Contrast checker → · Palette generator →

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