#6B48DE#6B48DE

#6B48DE is a mid, highly saturated violet. Relative luminance 0.130; OKLCH L 52.9% C 0.215 H 287.3°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#6B48DE
RGBrgb(107, 72, 222)
HSLhsl(254, 69%, 58%)
HSVhsv(254, 68%, 87%)
CMYKcmyk(51.8%, 67.6%, 0%, 12.9%)
CIE-LABlab(42.81, 51.44, -71.60)
CIE-LCHlch(42.81, 88.16, 305.69°)
OKLaboklab(52.93% 0.0641 -0.2056)
OKLCHoklch(52.93% 0.215 287.3)
XYZxyz(21.5617, 13.0334, 70.4726)
Luminance0.1303 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B48DE #BBDE48
analogous
#4870DE #6B48DE #B648DE
triadic
#6B48DE #DE6B48 #48DE6B
tetradic
#6B48DE #DE4870 #BBDE48 #48DEB6
square
#6B48DE #DE4870 #BBDE48 #48DEB6
split-complementary
#6B48DE #DEB648 #70DE48
monochromatic
#361A91 #4924C5 #6B48DE #957CE7 #BFB0F1

Accessibility & contrast

On white

5.82
#6B48DE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#6B48DE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B48DE
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B48DE#FFFFFF#000000##FFFFFF
##6B48DE1.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069E3
Deuteranopia (green-blind)
#0061DB
Tritanopia (blue-blind)
#3F6E8D
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #6b48de;
/* rgb */ color: rgb(107, 72, 222);
/* oklch */ color: oklch(52.9% 0.215 287.3);
Tailwind
colors: {
  custom: {
    50: '#9f7de9',
    500: '#6b48de',
    950: '#000000',
  },
}
SCSS
$custom: #6b48de;
$custom-light: #9f7de9;
$custom-dark: #000000;
JSON
{
  "hex": "#6b48de",
  "rgb": {
    "r": 107,
    "g": 72,
    "b": 222
  },
  "hsl": {
    "h": 254,
    "s": 69.444,
    "l": 57.647
  },
  "oklch": {
    "l": 0.52932,
    "c": 0.21538,
    "h": 287.3
  },
  "luminance": 0.13034
}

Semantic roles & 50–950 ramp

primary
#6B48DE
secondary
#D1DFA3
accent
#EC3CC3
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #6B48DE

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

Preview Lab → · Contrast checker → · Palette generator →

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