#6D48E6#6D48E6

#6D48E6 is a mid, highly saturated violet. Relative luminance 0.136; OKLCH L 53.8% C 0.225 H 287.0°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#6D48E6
RGBrgb(109, 72, 230)
HSLhsl(254, 76%, 59%)
HSVhsv(254, 69%, 90%)
CMYKcmyk(52.6%, 68.7%, 0%, 9.8%)
CIE-LABlab(43.65, 54.02, -74.77)
CIE-LCHlch(43.65, 92.25, 305.85°)
OKLaboklab(53.78% 0.0656 -0.2149)
OKLCHoklch(53.78% 0.225 287)
XYZxyz(22.9027, 13.5979, 76.2654)
Luminance0.1360 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D48E6 #C1E648
analogous
#4872E6 #6D48E6 #BC48E6
triadic
#6D48E6 #E66D48 #48E66D
tetradic
#6D48E6 #E64872 #C1E648 #48E6BC
square
#6D48E6 #E64872 #C1E648 #48E6BC
split-complementary
#6D48E6 #E6BC48 #72E648
monochromatic
#36169E #481DD4 #6D48E6 #987EED #C3B4F5

Accessibility & contrast

On white

5.65
#6D48E6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#6D48E6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6D48E6
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D48E6#FFFFFF#000000##FFFFFF
##6D48E61.005.653.725.65
#FFFFFF5.651.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BEB
Deuteranopia (green-blind)
#0063E3
Tritanopia (blue-blind)
#3C7192
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #6d48e6;
/* rgb */ color: rgb(109, 72, 230);
/* oklch */ color: oklch(53.8% 0.225 287.0);
Tailwind
colors: {
  custom: {
    50: '#a27eef',
    500: '#6d48e6',
    950: '#000000',
  },
}
SCSS
$custom: #6d48e6;
$custom-light: #a27eef;
$custom-dark: #000000;
JSON
{
  "hex": "#6d48e6",
  "rgb": {
    "r": 109,
    "g": 72,
    "b": 230
  },
  "hsl": {
    "h": 254.051,
    "s": 75.962,
    "l": 59.216
  },
  "oklch": {
    "l": 0.53778,
    "c": 0.22464,
    "h": 287
  },
  "luminance": 0.13599
}

Semantic roles & 50–950 ramp

primary
#6D48E6
secondary
#D5E4A6
accent
#F335C6
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A17
muted
#7F7C85

Preview Lab

Preview with #6D48E6

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

Preview Lab → · Contrast checker → · Palette generator →

#6D48E6 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva