#8049DF#8049DF

#8049DF is a mid, highly saturated violet. Relative luminance 0.147; OKLCH L 55.2% C 0.215 H 295.2°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#8049DF
RGBrgb(128, 73, 223)
HSLhsl(262, 70%, 58%)
HSVhsv(262, 67%, 87%)
CMYKcmyk(42.6%, 67.3%, 0%, 12.5%)
CIE-LABlab(45.19, 54.87, -68.20)
CIE-LCHlch(45.19, 87.53, 308.82°)
OKLaboklab(55.16% 0.0918 -0.1949)
OKLCHoklch(55.16% 0.215 295.2)
XYZxyz(24.6004, 14.6814, 71.3354)
Luminance0.1468 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8049DF #A8DF49
analogous
#495DDF #8049DF #CB49DF
triadic
#8049DF #DF8049 #49DF80
tetradic
#8049DF #DF495D #A8DF49 #49DFCB
square
#8049DF #DF495D #A8DF49 #49DFCB
split-complementary
#8049DF #DFCB49 #5DDF49
monochromatic
#471A94 #5F23C8 #8049DF #A47DE8 #C9B1F1

Accessibility & contrast

On white

5.33
#8049DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#8049DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8049DF
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8049DF#FFFFFF#000000##FFFFFF
##8049DF1.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CE4
Deuteranopia (green-blind)
#0069DC
Tritanopia (blue-blind)
#666D8E
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #8049df;
/* rgb */ color: rgb(128, 73, 223);
/* oklch */ color: oklch(55.2% 0.215 295.2);
Tailwind
colors: {
  custom: {
    50: '#ac7fea',
    500: '#8049df',
    950: '#000000',
  },
}
SCSS
$custom: #8049df;
$custom-light: #ac7fea;
$custom-dark: #000000;
JSON
{
  "hex": "#8049df",
  "rgb": {
    "r": 128,
    "g": 73,
    "b": 223
  },
  "hsl": {
    "h": 262,
    "s": 70.093,
    "l": 58.039
  },
  "oklch": {
    "l": 0.55158,
    "c": 0.21547,
    "h": 295.2
  },
  "luminance": 0.14682
}

Semantic roles & 50–950 ramp

primary
#8049DF
secondary
#CAE0A4
accent
#ED3BAC
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110A16
muted
#807C84

Preview Lab

Preview with #8049DF

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

Preview Lab → · Contrast checker → · Palette generator →

#8049DF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva