#7248CA#7248CA

#7248CA is a mid, vivid violet. Relative luminance 0.125; OKLCH L 52.0% C 0.191 H 293.5°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#7248CA
RGBrgb(114, 72, 202)
HSLhsl(259, 55%, 54%)
HSVhsv(259, 64%, 79%)
CMYKcmyk(43.6%, 64.4%, 0%, 20.8%)
CIE-LABlab(41.96, 47.13, -61.46)
CIE-LCHlch(41.96, 77.46, 307.48°)
OKLaboklab(52% 0.0763 -0.1756)
OKLCHoklch(52% 0.191 293.5)
XYZxyz(19.9146, 12.4758, 57.2245)
Luminance0.1248 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7248CA #A0CA48
analogous
#485FCA #7248CA #B348CA
triadic
#7248CA #CA7248 #48CA72
tetradic
#7248CA #CA485F #A0CA48 #48CAB3
square
#7248CA #CA485F #A0CA48 #48CAB3
split-complementary
#7248CA #CAB348 #5FCA48
monochromatic
#3D2276 #5630A5 #7248CA #9777D8 #BBA7E5

Accessibility & contrast

On white

6.01
#7248CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#7248CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7248CA
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7248CA#FFFFFF#000000##FFFFFF
##7248CA1.006.013.506.01
#FFFFFF6.011.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065CE
Deuteranopia (green-blind)
#0061C7
Tritanopia (blue-blind)
#596782
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #7248ca;
/* rgb */ color: rgb(114, 72, 202);
/* oklch */ color: oklch(52.0% 0.191 293.5);
Tailwind
colors: {
  custom: {
    50: '#a17ddb',
    500: '#7248ca',
    950: '#000000',
  },
}
SCSS
$custom: #7248ca;
$custom-light: #a17ddb;
$custom-dark: #000000;
JSON
{
  "hex": "#7248ca",
  "rgb": {
    "r": 114,
    "g": 72,
    "b": 202
  },
  "hsl": {
    "h": 259.385,
    "s": 55.085,
    "l": 53.725
  },
  "oklch": {
    "l": 0.52002,
    "c": 0.19147,
    "h": 293.5
  },
  "luminance": 0.12476
}

Semantic roles & 50–950 ramp

primary
#7248CA
secondary
#C1D39B
accent
#DE49AE
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7248CA

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

Preview Lab → · Contrast checker → · Palette generator →

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