#6D48E8#6D48E8

#6D48E8 is a mid, highly saturated violet. Relative luminance 0.137; OKLCH L 53.9% C 0.227 H 286.7°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#6D48E8
RGBrgb(109, 72, 232)
HSLhsl(254, 78%, 60%)
HSVhsv(254, 69%, 91%)
CMYKcmyk(53%, 69%, 0%, 9%)
CIE-LABlab(43.82, 54.59, -75.63)
CIE-LCHlch(43.82, 93.28, 305.82°)
OKLaboklab(53.95% 0.0652 -0.2174)
OKLCHoklch(53.95% 0.227 286.7)
XYZxyz(23.1852, 13.7109, 77.7531)
Luminance0.1371 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D48E8 #C3E848
analogous
#4873E8 #6D48E8 #BD48E8
triadic
#6D48E8 #E86D48 #48E86D
tetradic
#6D48E8 #E84873 #C3E848 #48E8BD
square
#6D48E8 #E84873 #C3E848 #48E8BD
split-complementary
#6D48E8 #E8BD48 #73E848
monochromatic
#3514A1 #471BD8 #6D48E8 #987EEF #C4B5F6

Accessibility & contrast

On white

5.61
#6D48E8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#6D48E8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6D48E8
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D48E8#FFFFFF#000000##FFFFFF
##6D48E81.005.613.745.61
#FFFFFF5.611.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CED
Deuteranopia (green-blind)
#0063E5
Tritanopia (blue-blind)
#3A7293
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #6d48e8;
/* rgb */ color: rgb(109, 72, 232);
/* oklch */ color: oklch(53.9% 0.227 286.7);
Tailwind
colors: {
  custom: {
    50: '#a27ef0',
    500: '#6d48e8',
    950: '#000000',
  },
}
SCSS
$custom: #6d48e8;
$custom-light: #a27ef0;
$custom-dark: #000000;
JSON
{
  "hex": "#6d48e8",
  "rgb": {
    "r": 109,
    "g": 72,
    "b": 232
  },
  "hsl": {
    "h": 253.875,
    "s": 77.67,
    "l": 59.608
  },
  "oklch": {
    "l": 0.53946,
    "c": 0.22696,
    "h": 286.7
  },
  "luminance": 0.13712
}

Semantic roles & 50–950 ramp

primary
#6D48E8
secondary
#D7E5A7
accent
#F434C8
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A17
muted
#7F7C85

Preview Lab

Preview with #6D48E8

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

Preview Lab → · Contrast checker → · Palette generator →

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