#7248CF#7248CF

#7248CF is a mid, vivid violet. Relative luminance 0.127; OKLCH L 52.4% C 0.197 H 292.6°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#7248CF
RGBrgb(114, 72, 207)
HSLhsl(259, 58%, 55%)
HSVhsv(259, 65%, 81%)
CMYKcmyk(44.9%, 65.2%, 0%, 18.8%)
CIE-LABlab(42.33, 48.50, -63.75)
CIE-LCHlch(42.33, 80.10, 307.26°)
OKLaboklab(52.39% 0.0758 -0.1823)
OKLCHoklch(52.39% 0.197 292.6)
XYZxyz(20.5162, 12.7165, 60.3929)
Luminance0.1272 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7248CF #A5CF48
analogous
#4861CF #7248CF #B648CF
triadic
#7248CF #CF7248 #48CF72
tetradic
#7248CF #CF4861 #A5CF48 #48CFB6
square
#7248CF #CF4861 #A5CF48 #48CFB6
split-complementary
#7248CF #CFB648 #61CF48
monochromatic
#3D217C #552DAD #7248CF #9778DC #BDA9E8

Accessibility & contrast

On white

5.93
#7248CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#7248CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7248CF
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7248CF#FFFFFF#000000##FFFFFF
##7248CF1.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D3
Deuteranopia (green-blind)
#0061CC
Tritanopia (blue-blind)
#576885
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #7248cf;
/* rgb */ color: rgb(114, 72, 207);
/* oklch */ color: oklch(52.4% 0.197 292.6);
Tailwind
colors: {
  custom: {
    50: '#a27ddf',
    500: '#7248cf',
    950: '#000000',
  },
}
SCSS
$custom: #7248cf;
$custom-light: #a27ddf;
$custom-dark: #000000;
JSON
{
  "hex": "#7248cf",
  "rgb": {
    "r": 114,
    "g": 72,
    "b": 207
  },
  "hsl": {
    "h": 258.667,
    "s": 58.442,
    "l": 54.706
  },
  "oklch": {
    "l": 0.52385,
    "c": 0.19744,
    "h": 292.6
  },
  "luminance": 0.12717
}

Semantic roles & 50–950 ramp

primary
#7248CF
secondary
#C4D69D
accent
#E246B1
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7248CF

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

Preview Lab → · Contrast checker → · Palette generator →

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