#7248BB#7248BB

#7248BB is a mid, vivid violet. Relative luminance 0.118; OKLCH L 50.9% C 0.173 H 296.6°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#7248BB
RGBrgb(114, 72, 187)
HSLhsl(262, 46%, 51%)
HSVhsv(262, 61%, 73%)
CMYKcmyk(39%, 61.5%, 0%, 26.7%)
CIE-LABlab(40.90, 43.08, -54.46)
CIE-LCHlch(40.90, 69.44, 308.34°)
OKLaboklab(50.89% 0.0775 -0.155)
OKLCHoklch(50.89% 0.173 296.6)
XYZxyz(18.2241, 11.7997, 48.3215)
Luminance0.1180 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7248BB #91BB48
analogous
#4857BB #7248BB #AB48BB
triadic
#7248BB #BB7248 #48BB72
tetradic
#7248BB #BB4857 #91BB48 #48BBAB
square
#7248BB #BB4857 #91BB48 #48BBAB
split-complementary
#7248BB #BBAB48 #57BB48
monochromatic
#3C2564 #573690 #7248BB #9475CC #B7A1DC

Accessibility & contrast

On white

6.25
#7248BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#7248BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7248BB
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7248BB#FFFFFF#000000##FFFFFF
##7248BB1.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061BF
Deuteranopia (green-blind)
#0E5FB9
Tritanopia (blue-blind)
#60617B
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #7248bb;
/* rgb */ color: rgb(114, 72, 187);
/* oklch */ color: oklch(50.9% 0.173 296.6);
Tailwind
colors: {
  custom: {
    50: '#9f7dd0',
    500: '#7248bb',
    950: '#000000',
  },
}
SCSS
$custom: #7248bb;
$custom-light: #9f7dd0;
$custom-dark: #000000;
JSON
{
  "hex": "#7248bb",
  "rgb": {
    "r": 114,
    "g": 72,
    "b": 187
  },
  "hsl": {
    "h": 261.913,
    "s": 45.817,
    "l": 50.784
  },
  "oklch": {
    "l": 0.50891,
    "c": 0.1733,
    "h": 296.6
  },
  "luminance": 0.118
}

Semantic roles & 50–950 ramp

primary
#7248BB
secondary
#B6C996
accent
#D552A6
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#0F0A14
muted
#7F7C82

Preview Lab

Preview with #7248BB

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

Preview Lab → · Contrast checker → · Palette generator →

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