#6B48D8#6B48D8

#6B48D8 is a mid, highly saturated violet. Relative luminance 0.127; OKLCH L 52.4% C 0.208 H 288.2°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#6B48D8
RGBrgb(107, 72, 216)
HSLhsl(255, 65%, 56%)
HSVhsv(255, 67%, 85%)
CMYKcmyk(50.5%, 66.7%, 0%, 15.3%)
CIE-LABlab(42.33, 49.73, -68.95)
CIE-LCHlch(42.33, 85.02, 305.80°)
OKLaboklab(52.44% 0.065 -0.1978)
OKLCHoklch(52.44% 0.208 288.2)
XYZxyz(20.7718, 12.7174, 66.3127)
Luminance0.1272 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B48D8 #B5D848
analogous
#486DD8 #6B48D8 #B348D8
triadic
#6B48D8 #D86B48 #48D86B
tetradic
#6B48D8 #D8486D #B5D848 #48D8B3
square
#6B48D8 #D8486D #B5D848 #48D8B3
split-complementary
#6B48D8 #D8B348 #6DD848
monochromatic
#371D89 #4C28BB #6B48D8 #947AE3 #BDADEE

Accessibility & contrast

On white

5.93
#6B48D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#6B48D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B48D8
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B48D8#FFFFFF#000000##FFFFFF
##6B48D81.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067DC
Deuteranopia (green-blind)
#0060D5
Tritanopia (blue-blind)
#436C8A
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #6b48d8;
/* rgb */ color: rgb(107, 72, 216);
/* oklch */ color: oklch(52.4% 0.208 288.2);
Tailwind
colors: {
  custom: {
    50: '#9f7de5',
    500: '#6b48d8',
    950: '#000000',
  },
}
SCSS
$custom: #6b48d8;
$custom-light: #9f7de5;
$custom-dark: #000000;
JSON
{
  "hex": "#6b48d8",
  "rgb": {
    "r": 107,
    "g": 72,
    "b": 216
  },
  "hsl": {
    "h": 254.583,
    "s": 64.865,
    "l": 56.471
  },
  "oklch": {
    "l": 0.5244,
    "c": 0.20825,
    "h": 288.2
  },
  "luminance": 0.12718
}

Semantic roles & 50–950 ramp

primary
#6B48D8
secondary
#CDDBA0
accent
#E840BF
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #6B48D8

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

Preview Lab → · Contrast checker → · Palette generator →

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