#7248CD#7248CD

#7248CD is a mid, vivid violet. Relative luminance 0.126; OKLCH L 52.2% C 0.195 H 292.9°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#7248CD
RGBrgb(114, 72, 205)
HSLhsl(259, 57%, 54%)
HSVhsv(259, 65%, 80%)
CMYKcmyk(44.4%, 64.9%, 0%, 19.6%)
CIE-LABlab(42.18, 47.95, -62.84)
CIE-LCHlch(42.18, 79.04, 307.35°)
OKLaboklab(52.23% 0.076 -0.1796)
OKLCHoklch(52.23% 0.195 292.9)
XYZxyz(20.2732, 12.6193, 59.1134)
Luminance0.1262 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7248CD #A3CD48
analogous
#4861CD #7248CD #B448CD
triadic
#7248CD #CD7248 #48CD72
tetradic
#7248CD #CD4861 #A3CD48 #48CDB4
square
#7248CD #CD4861 #A3CD48 #48CDB4
split-complementary
#7248CD #CDB448 #61CD48
monochromatic
#3D2179 #552EA9 #7248CD #9778DA #BCA8E7

Accessibility & contrast

On white

5.96
#7248CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#7248CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7248CD
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7248CD#FFFFFF#000000##FFFFFF
##7248CD1.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D1
Deuteranopia (green-blind)
#0061CA
Tritanopia (blue-blind)
#586884
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #7248cd;
/* rgb */ color: rgb(114, 72, 205);
/* oklch */ color: oklch(52.2% 0.195 292.9);
Tailwind
colors: {
  custom: {
    50: '#a17ddd',
    500: '#7248cd',
    950: '#000000',
  },
}
SCSS
$custom: #7248cd;
$custom-light: #a17ddd;
$custom-dark: #000000;
JSON
{
  "hex": "#7248cd",
  "rgb": {
    "r": 114,
    "g": 72,
    "b": 205
  },
  "hsl": {
    "h": 258.947,
    "s": 57.082,
    "l": 54.314
  },
  "oklch": {
    "l": 0.52231,
    "c": 0.19506,
    "h": 292.9
  },
  "luminance": 0.1262
}

Semantic roles & 50–950 ramp

primary
#7248CD
secondary
#C3D59C
accent
#E047B0
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7248CD

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

Preview Lab → · Contrast checker → · Palette generator →

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