#7048EF#7048EF

#7048EF is a mid, highly saturated violet. Relative luminance 0.143; OKLCH L 54.8% C 0.235 H 286.8°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#7048EF
RGBrgb(112, 72, 239)
HSLhsl(254, 84%, 61%)
HSVhsv(254, 70%, 94%)
CMYKcmyk(53.1%, 69.9%, 0%, 6.3%)
CIE-LABlab(44.67, 57.00, -78.17)
CIE-LCHlch(44.67, 96.75, 306.10°)
OKLaboklab(54.8% 0.068 -0.2247)
OKLCHoklch(54.8% 0.235 286.8)
XYZxyz(24.5748, 14.3102, 83.1119)
Luminance0.1431 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7048EF #C7EF48
analogous
#4873EF #7048EF #C348EF
triadic
#7048EF #EF7048 #48EF70
tetradic
#7048EF #EF4873 #C7EF48 #48EFC3
square
#7048EF #EF4873 #C7EF48 #48EFC3
split-complementary
#7048EF #EFC348 #73EF48
monochromatic
#350FAD #4614E6 #7048EF #9C80F4 #C8B9F9

Accessibility & contrast

On white

5.44
#7048EF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#7048EF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7048EF
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7048EF#FFFFFF#000000##FFFFFF
##7048EF1.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EF4
Deuteranopia (green-blind)
#0065EC
Tritanopia (blue-blind)
#3B7497
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #7048ef;
/* rgb */ color: rgb(112, 72, 239);
/* oklch */ color: oklch(54.8% 0.235 286.8);
Tailwind
colors: {
  custom: {
    50: '#a47ef5',
    500: '#7048ef',
    950: '#000000',
  },
}
SCSS
$custom: #7048ef;
$custom-light: #a47ef5;
$custom-dark: #000000;
JSON
{
  "hex": "#7048ef",
  "rgb": {
    "r": 112,
    "g": 72,
    "b": 239
  },
  "hsl": {
    "h": 254.371,
    "s": 83.92,
    "l": 60.98
  },
  "oklch": {
    "l": 0.54804,
    "c": 0.23481,
    "h": 286.8
  },
  "luminance": 0.14311
}

Semantic roles & 50–950 ramp

primary
#7048EF
secondary
#DAE9AA
accent
#E005AC
background
#FAF7FF
surface
#F4EEFF
border
#CEC9D7
text
#100A17
muted
#7F7C85

Preview Lab

Preview with #7048EF

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

Preview Lab → · Contrast checker → · Palette generator →

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