#7048FF#7048FF

#7048FF is a mid, highly saturated violet. Relative luminance 0.153; OKLCH L 56.2% C 0.253 H 284.9°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#7048FF
RGBrgb(112, 72, 255)
HSLhsl(253, 100%, 64%)
HSVhsv(253, 72%, 100%)
CMYKcmyk(56.1%, 71.8%, 0%, 0%)
CIE-LABlab(46.04, 61.45, -84.89)
CIE-LCHlch(46.04, 104.80, 305.90°)
OKLaboklab(56.19% 0.0648 -0.2444)
OKLCHoklch(56.19% 0.253 284.9)
XYZxyz(27.0440, 15.2978, 96.1161)
Luminance0.1530 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7048FF #D7FF48
analogous
#487CFF #7048FF #CC48FF
triadic
#7048FF #FF7048 #48FF70
tetradic
#7048FF #FF487C #D7FF48 #48FFCC
square
#7048FF #FF487C #D7FF48 #48FFCC
split-complementary
#7048FF #FFCC48 #7CFF48
monochromatic
#2D00CD #400BFF #7048FF #A085FF #D0C2FF

Accessibility & contrast

On white

5.17
#7048FF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#7048FF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7048FF
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7048FF#FFFFFF#000000##FFFFFF
##7048FF1.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072FF
Deuteranopia (green-blind)
#0067FC
Tritanopia (blue-blind)
#267AA0
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #7048ff;
/* rgb */ color: rgb(112, 72, 255);
/* oklch */ color: oklch(56.2% 0.253 284.9);
Tailwind
colors: {
  custom: {
    50: '#a77fff',
    500: '#7048ff',
    950: '#000000',
  },
}
SCSS
$custom: #7048ff;
$custom-light: #a77fff;
$custom-dark: #000000;
JSON
{
  "hex": "#7048ff",
  "rgb": {
    "r": 112,
    "g": 72,
    "b": 255
  },
  "hsl": {
    "h": 253.115,
    "s": 100,
    "l": 64.118
  },
  "oklch": {
    "l": 0.5619,
    "c": 0.25288,
    "h": 284.9
  },
  "luminance": 0.15299
}

Semantic roles & 50–950 ramp

primary
#7048FF
secondary
#E3F1B1
accent
#E600B3
background
#FBF7FF
surface
#F6EEFF
border
#D0C9D7
text
#110A18
muted
#807C86

Preview Lab

Preview with #7048FF

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

Preview Lab → · Contrast checker → · Palette generator →

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