#7248D9#7248D9

#7248D9 is a mid, highly saturated violet. Relative luminance 0.132; OKLCH L 53.2% C 0.209 H 290.8°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#7248D9
RGBrgb(114, 72, 217)
HSLhsl(257, 66%, 57%)
HSVhsv(257, 67%, 85%)
CMYKcmyk(47.5%, 66.8%, 0%, 14.9%)
CIE-LABlab(43.09, 51.24, -68.26)
CIE-LCHlch(43.09, 85.35, 306.90°)
OKLaboklab(53.17% 0.0745 -0.1956)
OKLCHoklch(53.17% 0.209 290.8)
XYZxyz(21.7776, 13.2211, 67.0367)
Luminance0.1322 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7248D9 #AFD948
analogous
#4867D9 #7248D9 #BA48D9
triadic
#7248D9 #D97248 #48D972
tetradic
#7248D9 #D94867 #AFD948 #48D9BA
square
#7248D9 #D94867 #AFD948 #48D9BA
split-complementary
#7248D9 #D9BA48 #67D948
monochromatic
#3C1D8A #5227BD #7248D9 #997BE4 #C0ADEE

Accessibility & contrast

On white

5.76
#7248D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#7248D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7248D9
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7248D9#FFFFFF#000000##FFFFFF
##7248D91.005.763.645.76
#FFFFFF5.761.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068DD
Deuteranopia (green-blind)
#0063D6
Tritanopia (blue-blind)
#516C8B
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #7248d9;
/* rgb */ color: rgb(114, 72, 217);
/* oklch */ color: oklch(53.2% 0.209 290.8);
Tailwind
colors: {
  custom: {
    50: '#a37ee6',
    500: '#7248d9',
    950: '#000000',
  },
}
SCSS
$custom: #7248d9;
$custom-light: #a37ee6;
$custom-dark: #000000;
JSON
{
  "hex": "#7248d9",
  "rgb": {
    "r": 114,
    "g": 72,
    "b": 217
  },
  "hsl": {
    "h": 257.379,
    "s": 65.611,
    "l": 56.667
  },
  "oklch": {
    "l": 0.53172,
    "c": 0.20927,
    "h": 290.8
  },
  "luminance": 0.13222
}

Semantic roles & 50–950 ramp

primary
#7248D9
secondary
#CBDCA1
accent
#E93FB8
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #7248D9

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

Preview Lab → · Contrast checker → · Palette generator →

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