#7248EC#7248EC

#7248EC is a mid, highly saturated violet. Relative luminance 0.143; OKLCH L 54.7% C 0.231 H 288.0°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#7248EC
RGBrgb(114, 72, 236)
HSLhsl(255, 81%, 60%)
HSVhsv(255, 69%, 93%)
CMYKcmyk(51.7%, 69.5%, 0%, 7.5%)
CIE-LABlab(44.61, 56.48, -76.57)
CIE-LCHlch(44.61, 95.15, 306.41°)
OKLaboklab(54.73% 0.0713 -0.22)
OKLCHoklch(54.73% 0.231 288)
XYZxyz(24.3927, 14.2671, 80.8091)
Luminance0.1427 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7248EC #C2EC48
analogous
#4870EC #7248EC #C448EC
triadic
#7248EC #EC7248 #48EC72
tetradic
#7248EC #EC4870 #C2EC48 #48ECC4
square
#7248EC #EC4870 #C2EC48 #48ECC4
split-complementary
#7248EC #ECC448 #70EC48
monochromatic
#3811A8 #4B17E0 #7248EC #9D7FF2 #C7B7F8

Accessibility & contrast

On white

5.45
#7248EC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#7248EC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7248EC
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7248EC#FFFFFF#000000##FFFFFF
##7248EC1.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DF1
Deuteranopia (green-blind)
#0065E9
Tritanopia (blue-blind)
#437395
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #7248ec;
/* rgb */ color: rgb(114, 72, 236);
/* oklch */ color: oklch(54.7% 0.231 288.0);
Tailwind
colors: {
  custom: {
    50: '#a57ef3',
    500: '#7248ec',
    950: '#000000',
  },
}
SCSS
$custom: #7248ec;
$custom-light: #a57ef3;
$custom-dark: #000000;
JSON
{
  "hex": "#7248ec",
  "rgb": {
    "r": 114,
    "g": 72,
    "b": 236
  },
  "hsl": {
    "h": 255.366,
    "s": 81.188,
    "l": 60.392
  },
  "oklch": {
    "l": 0.54729,
    "c": 0.23126,
    "h": 288
  },
  "luminance": 0.14268
}

Semantic roles & 50–950 ramp

primary
#7248EC
secondary
#D7E7A9
accent
#DE08A7
background
#FAF7FF
surface
#F4EEFE
border
#CEC9D6
text
#100A17
muted
#7F7C85

Preview Lab

Preview with #7248EC

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

Preview Lab → · Contrast checker → · Palette generator →

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