#7048CF#7048CF

#7048CF is a mid, vivid violet. Relative luminance 0.126; OKLCH L 52.2% C 0.197 H 291.7°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#7048CF
RGBrgb(112, 72, 207)
HSLhsl(258, 58%, 55%)
HSVhsv(258, 65%, 81%)
CMYKcmyk(45.9%, 65.2%, 0%, 18.8%)
CIE-LABlab(42.13, 48.12, -64.09)
CIE-LCHlch(42.13, 80.14, 306.90°)
OKLaboklab(52.19% 0.073 -0.1834)
OKLCHoklch(52.19% 0.197 291.7)
XYZxyz(20.2588, 12.5838, 60.3809)
Luminance0.1258 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7048CF #A7CF48
analogous
#4863CF #7048CF #B448CF
triadic
#7048CF #CF7048 #48CF70
tetradic
#7048CF #CF4863 #A7CF48 #48CFB4
square
#7048CF #CF4863 #A7CF48 #48CFB4
split-complementary
#7048CF #CFB448 #63CF48
monochromatic
#3C217C #532DAD #7048CF #9678DC #BCA9E8

Accessibility & contrast

On white

5.97
#7048CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#7048CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7048CF
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7048CF#FFFFFF#000000##FFFFFF
##7048CF1.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D3
Deuteranopia (green-blind)
#0061CC
Tritanopia (blue-blind)
#536885
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #7048cf;
/* rgb */ color: rgb(112, 72, 207);
/* oklch */ color: oklch(52.2% 0.197 291.7);
Tailwind
colors: {
  custom: {
    50: '#a07ddf',
    500: '#7048cf',
    950: '#000000',
  },
}
SCSS
$custom: #7048cf;
$custom-light: #a07ddf;
$custom-dark: #000000;
JSON
{
  "hex": "#7048cf",
  "rgb": {
    "r": 112,
    "g": 72,
    "b": 207
  },
  "hsl": {
    "h": 257.778,
    "s": 58.442,
    "l": 54.706
  },
  "oklch": {
    "l": 0.52191,
    "c": 0.19741,
    "h": 291.7
  },
  "luminance": 0.12584
}

Semantic roles & 50–950 ramp

primary
#7048CF
secondary
#C5D69D
accent
#E246B4
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7048CF

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

Preview Lab → · Contrast checker → · Palette generator →

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