#7248DB#7248DB

#7248DB is a mid, highly saturated violet. Relative luminance 0.133; OKLCH L 53.3% C 0.212 H 290.5°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#7248DB
RGBrgb(114, 72, 219)
HSLhsl(257, 67%, 57%)
HSVhsv(257, 67%, 86%)
CMYKcmyk(47.9%, 67.1%, 0%, 14.1%)
CIE-LABlab(43.25, 51.79, -69.15)
CIE-LCHlch(43.25, 86.39, 306.83°)
OKLaboklab(53.33% 0.0742 -0.1982)
OKLCHoklch(53.33% 0.212 290.5)
XYZxyz(22.0393, 13.3258, 68.4150)
Luminance0.1333 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7248DB #B1DB48
analogous
#4868DB #7248DB #BC48DB
triadic
#7248DB #DB7248 #48DB72
tetradic
#7248DB #DB4868 #B1DB48 #48DBBC
square
#7248DB #DB4868 #B1DB48 #48DBBC
split-complementary
#7248DB #DBBC48 #68DB48
monochromatic
#3C1C8D #5226C0 #7248DB #997BE5 #C1AEEF

Accessibility & contrast

On white

5.73
#7248DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#7248DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7248DB
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7248DB#FFFFFF#000000##FFFFFF
##7248DB1.005.733.675.73
#FFFFFF5.731.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069DF
Deuteranopia (green-blind)
#0063D8
Tritanopia (blue-blind)
#506D8C
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #7248db;
/* rgb */ color: rgb(114, 72, 219);
/* oklch */ color: oklch(53.3% 0.212 290.5);
Tailwind
colors: {
  custom: {
    50: '#a37ee7',
    500: '#7248db',
    950: '#000000',
  },
}
SCSS
$custom: #7248db;
$custom-light: #a37ee7;
$custom-dark: #000000;
JSON
{
  "hex": "#7248db",
  "rgb": {
    "r": 114,
    "g": 72,
    "b": 219
  },
  "hsl": {
    "h": 257.143,
    "s": 67.123,
    "l": 57.059
  },
  "oklch": {
    "l": 0.53332,
    "c": 0.2116,
    "h": 290.5
  },
  "luminance": 0.13327
}

Semantic roles & 50–950 ramp

primary
#7248DB
secondary
#CCDDA2
accent
#EA3EB9
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #7248DB

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

Preview Lab → · Contrast checker → · Palette generator →

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