#7248DD#7248DD

#7248DD is a mid, highly saturated violet. Relative luminance 0.134; OKLCH L 53.5% C 0.214 H 290.2°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#7248DD
RGBrgb(114, 72, 221)
HSLhsl(257, 69%, 57%)
HSVhsv(257, 67%, 87%)
CMYKcmyk(48.4%, 67.4%, 0%, 13.3%)
CIE-LABlab(43.41, 52.34, -70.03)
CIE-LCHlch(43.41, 87.43, 306.77°)
OKLaboklab(53.49% 0.0739 -0.2008)
OKLCHoklch(53.49% 0.214 290.2)
XYZxyz(22.3042, 13.4317, 69.8100)
Luminance0.1343 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7248DD #B3DD48
analogous
#4868DD #7248DD #BD48DD
triadic
#7248DD #DD7248 #48DD72
tetradic
#7248DD #DD4868 #B3DD48 #48DDBD
square
#7248DD #DD4868 #B3DD48 #48DDBD
split-complementary
#7248DD #DDBD48 #68DD48
monochromatic
#3C1B90 #5124C3 #7248DD #9A7CE7 #C2AFF0

Accessibility & contrast

On white

5.70
#7248DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#7248DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7248DD
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7248DD#FFFFFF#000000##FFFFFF
##7248DD1.005.703.695.70
#FFFFFF5.701.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069E2
Deuteranopia (green-blind)
#0063DA
Tritanopia (blue-blind)
#4E6D8D
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #7248dd;
/* rgb */ color: rgb(114, 72, 221);
/* oklch */ color: oklch(53.5% 0.214 290.2);
Tailwind
colors: {
  custom: {
    50: '#a37ee9',
    500: '#7248dd',
    950: '#000000',
  },
}
SCSS
$custom: #7248dd;
$custom-light: #a37ee9;
$custom-dark: #000000;
JSON
{
  "hex": "#7248dd",
  "rgb": {
    "r": 114,
    "g": 72,
    "b": 221
  },
  "hsl": {
    "h": 256.913,
    "s": 68.664,
    "l": 57.451
  },
  "oklch": {
    "l": 0.53493,
    "c": 0.21395,
    "h": 290.2
  },
  "luminance": 0.13433
}

Semantic roles & 50–950 ramp

primary
#7248DD
secondary
#CEDEA2
accent
#EC3CBA
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #7248DD

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

Preview Lab → · Contrast checker → · Palette generator →

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