#7048DE#7048DE

#7048DE is a mid, highly saturated violet. Relative luminance 0.134; OKLCH L 53.4% C 0.215 H 289.3°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#7048DE
RGBrgb(112, 72, 222)
HSLhsl(256, 69%, 58%)
HSVhsv(256, 68%, 87%)
CMYKcmyk(49.5%, 67.6%, 0%, 12.9%)
CIE-LABlab(43.29, 52.27, -70.80)
CIE-LCHlch(43.29, 88.01, 306.44°)
OKLaboklab(53.39% 0.071 -0.2031)
OKLCHoklch(53.39% 0.215 289.3)
XYZxyz(22.1805, 13.3524, 70.5017)
Luminance0.1335 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7048DE #B6DE48
analogous
#486BDE #7048DE #BB48DE
triadic
#7048DE #DE7048 #48DE70
tetradic
#7048DE #DE486B #B6DE48 #48DEBB
square
#7048DE #DE486B #B6DE48 #48DEBB
split-complementary
#7048DE #DEBB48 #6BDE48
monochromatic
#3A1A91 #4F24C5 #7048DE #997CE7 #C1B0F1

Accessibility & contrast

On white

5.72
#7048DE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#7048DE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7048DE
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7048DE#FFFFFF#000000##FFFFFF
##7048DE1.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069E3
Deuteranopia (green-blind)
#0063DB
Tritanopia (blue-blind)
#4A6E8D
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #7048de;
/* rgb */ color: rgb(112, 72, 222);
/* oklch */ color: oklch(53.4% 0.215 289.3);
Tailwind
colors: {
  custom: {
    50: '#a27ee9',
    500: '#7048de',
    950: '#000000',
  },
}
SCSS
$custom: #7048de;
$custom-light: #a27ee9;
$custom-dark: #000000;
JSON
{
  "hex": "#7048de",
  "rgb": {
    "r": 112,
    "g": 72,
    "b": 222
  },
  "hsl": {
    "h": 256,
    "s": 69.444,
    "l": 57.647
  },
  "oklch": {
    "l": 0.53387,
    "c": 0.21515,
    "h": 289.3
  },
  "luminance": 0.13353
}

Semantic roles & 50–950 ramp

primary
#7048DE
secondary
#CFDFA3
accent
#EC3CBD
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #7048DE

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

Preview Lab → · Contrast checker → · Palette generator →

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