#7248C2#7248C2

#7248C2 is a mid, vivid violet. Relative luminance 0.121; OKLCH L 51.4% C 0.182 H 295.1°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#7248C2
RGBrgb(114, 72, 194)
HSLhsl(261, 50%, 52%)
HSVhsv(261, 63%, 76%)
CMYKcmyk(41.2%, 62.9%, 0%, 23.9%)
CIE-LABlab(41.39, 44.96, -57.76)
CIE-LCHlch(41.39, 73.19, 307.90°)
OKLaboklab(51.4% 0.077 -0.1647)
OKLCHoklch(51.4% 0.182 295.1)
XYZxyz(18.9918, 12.1067, 52.3647)
Luminance0.1211 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7248C2 #98C248
analogous
#485BC2 #7248C2 #AF48C2
triadic
#7248C2 #C27248 #48C272
tetradic
#7248C2 #C2485B #98C248 #48C2AF
square
#7248C2 #C2485B #98C248 #48C2AF
split-complementary
#7248C2 #C2AF48 #5BC248
monochromatic
#3D246C #56339A #7248C2 #9576D1 #B9A4E1

Accessibility & contrast

On white

6.14
#7248C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#7248C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7248C2
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7248C2#FFFFFF#000000##FFFFFF
##7248C21.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C6
Deuteranopia (green-blind)
#0060BF
Tritanopia (blue-blind)
#5D647E
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #7248c2;
/* rgb */ color: rgb(114, 72, 194);
/* oklch */ color: oklch(51.4% 0.182 295.1);
Tailwind
colors: {
  custom: {
    50: '#a07dd5',
    500: '#7248c2',
    950: '#000000',
  },
}
SCSS
$custom: #7248c2;
$custom-light: #a07dd5;
$custom-dark: #000000;
JSON
{
  "hex": "#7248c2",
  "rgb": {
    "r": 114,
    "g": 72,
    "b": 194
  },
  "hsl": {
    "h": 260.656,
    "s": 50,
    "l": 52.157
  },
  "oklch": {
    "l": 0.51401,
    "c": 0.18182,
    "h": 295.1
  },
  "luminance": 0.12107
}

Semantic roles & 50–950 ramp

primary
#7248C2
secondary
#BBCE98
accent
#DA4EAA
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#0F0A14
muted
#7F7C83

Preview Lab

Preview with #7248C2

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

Preview Lab → · Contrast checker → · Palette generator →

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