#7248BE#7248BE

#7248BE is a mid, vivid violet. Relative luminance 0.119; OKLCH L 51.1% C 0.177 H 295.9°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#7248BE
RGBrgb(114, 72, 190)
HSLhsl(261, 48%, 51%)
HSVhsv(261, 62%, 75%)
CMYKcmyk(40%, 62.1%, 0%, 25.5%)
CIE-LABlab(41.10, 43.88, -55.88)
CIE-LCHlch(41.10, 71.05, 308.14°)
OKLaboklab(51.11% 0.0773 -0.1592)
OKLCHoklch(51.11% 0.177 295.9)
XYZxyz(18.5486, 11.9295, 50.0306)
Luminance0.1193 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7248BE #94BE48
analogous
#4859BE #7248BE #AD48BE
triadic
#7248BE #BE7248 #48BE72
tetradic
#7248BE #BE4859 #94BE48 #48BEAD
square
#7248BE #BE4859 #94BE48 #48BEAD
split-complementary
#7248BE #BEAD48 #59BE48
monochromatic
#3C2567 #573594 #7248BE #9575CE #B8A2DE

Accessibility & contrast

On white

6.20
#7248BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#7248BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7248BE
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7248BE#FFFFFF#000000##FFFFFF
##7248BE1.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C2
Deuteranopia (green-blind)
#015FBB
Tritanopia (blue-blind)
#5F627C
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #7248be;
/* rgb */ color: rgb(114, 72, 190);
/* oklch */ color: oklch(51.1% 0.177 295.9);
Tailwind
colors: {
  custom: {
    50: '#a07dd2',
    500: '#7248be',
    950: '#000000',
  },
}
SCSS
$custom: #7248be;
$custom-light: #a07dd2;
$custom-dark: #000000;
JSON
{
  "hex": "#7248be",
  "rgb": {
    "r": 114,
    "g": 72,
    "b": 190
  },
  "hsl": {
    "h": 261.356,
    "s": 47.581,
    "l": 51.373
  },
  "oklch": {
    "l": 0.51108,
    "c": 0.17696,
    "h": 295.9
  },
  "luminance": 0.1193
}

Semantic roles & 50–950 ramp

primary
#7248BE
secondary
#B8CB97
accent
#D751A7
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#0F0A14
muted
#7F7C83

Preview Lab

Preview with #7248BE

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

Preview Lab → · Contrast checker → · Palette generator →

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