#7248ED#7248ED

#7248ED is a mid, highly saturated violet. Relative luminance 0.143; OKLCH L 54.8% C 0.232 H 287.8°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#7248ED
RGBrgb(114, 72, 237)
HSLhsl(255, 82%, 61%)
HSVhsv(255, 70%, 93%)
CMYKcmyk(51.9%, 69.6%, 0%, 7.1%)
CIE-LABlab(44.70, 56.75, -77.00)
CIE-LCHlch(44.70, 95.66, 306.39°)
OKLaboklab(54.81% 0.0712 -0.2212)
OKLCHoklch(54.81% 0.232 287.8)
XYZxyz(24.5384, 14.3254, 81.5764)
Luminance0.1433 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7248ED #C3ED48
analogous
#4870ED #7248ED #C548ED
triadic
#7248ED #ED7248 #48ED72
tetradic
#7248ED #ED4870 #C3ED48 #48EDC5
square
#7248ED #ED4870 #C3ED48 #48EDC5
split-complementary
#7248ED #EDC548 #70ED48
monochromatic
#3811AA #4A16E2 #7248ED #9D80F2 #C8B7F8

Accessibility & contrast

On white

5.43
#7248ED on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#7248ED on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7248ED
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7248ED#FFFFFF#000000##FFFFFF
##7248ED1.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DF2
Deuteranopia (green-blind)
#0065EA
Tritanopia (blue-blind)
#427396
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #7248ed;
/* rgb */ color: rgb(114, 72, 237);
/* oklch */ color: oklch(54.8% 0.232 287.8);
Tailwind
colors: {
  custom: {
    50: '#a57ef4',
    500: '#7248ed',
    950: '#000000',
  },
}
SCSS
$custom: #7248ed;
$custom-light: #a57ef4;
$custom-dark: #000000;
JSON
{
  "hex": "#7248ed",
  "rgb": {
    "r": 114,
    "g": 72,
    "b": 237
  },
  "hsl": {
    "h": 255.273,
    "s": 82.09,
    "l": 60.588
  },
  "oklch": {
    "l": 0.54813,
    "c": 0.2324,
    "h": 287.8
  },
  "luminance": 0.14327
}

Semantic roles & 50–950 ramp

primary
#7248ED
secondary
#D8E8A9
accent
#DE07A8
background
#FAF7FF
surface
#F4EEFE
border
#CEC9D6
text
#110A17
muted
#807C85

Preview Lab

Preview with #7248ED

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

Preview Lab → · Contrast checker → · Palette generator →

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