#7248CC#7248CC

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

Color values

HEX#7248CC
RGBrgb(114, 72, 204)
HSLhsl(259, 56%, 54%)
HSVhsv(259, 65%, 80%)
CMYKcmyk(44.1%, 64.7%, 0%, 20%)
CIE-LABlab(42.11, 47.68, -62.38)
CIE-LCHlch(42.11, 78.52, 307.39°)
OKLaboklab(52.15% 0.0761 -0.1783)
OKLCHoklch(52.15% 0.194 293.1)
XYZxyz(20.1529, 12.5712, 58.4797)
Luminance0.1257 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7248CC #A2CC48
analogous
#4860CC #7248CC #B448CC
triadic
#7248CC #CC7248 #48CC72
tetradic
#7248CC #CC4860 #A2CC48 #48CCB4
square
#7248CC #CC4860 #A2CC48 #48CCB4
split-complementary
#7248CC #CCB448 #60CC48
monochromatic
#3D2178 #552FA8 #7248CC #9778D9 #BCA8E7

Accessibility & contrast

On white

5.98
#7248CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#7248CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7248CC
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7248CC#FFFFFF#000000##FFFFFF
##7248CC1.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D0
Deuteranopia (green-blind)
#0061C9
Tritanopia (blue-blind)
#586784
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #7248cc;
/* rgb */ color: rgb(114, 72, 204);
/* oklch */ color: oklch(52.2% 0.194 293.1);
Tailwind
colors: {
  custom: {
    50: '#a17ddc',
    500: '#7248cc',
    950: '#000000',
  },
}
SCSS
$custom: #7248cc;
$custom-light: #a17ddc;
$custom-dark: #000000;
JSON
{
  "hex": "#7248cc",
  "rgb": {
    "r": 114,
    "g": 72,
    "b": 204
  },
  "hsl": {
    "h": 259.091,
    "s": 56.41,
    "l": 54.118
  },
  "oklch": {
    "l": 0.52154,
    "c": 0.19386,
    "h": 293.1
  },
  "luminance": 0.12572
}

Semantic roles & 50–950 ramp

primary
#7248CC
secondary
#C2D49C
accent
#E048AF
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7248CC

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

Preview Lab → · Contrast checker → · Palette generator →

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