#6948D8#6948D8

#6948D8 is a mid, highly saturated violet. Relative luminance 0.126; OKLCH L 52.3% C 0.208 H 287.4°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#6948D8
RGBrgb(105, 72, 216)
HSLhsl(254, 65%, 56%)
HSVhsv(254, 67%, 85%)
CMYKcmyk(51.4%, 66.7%, 0%, 15.3%)
CIE-LABlab(42.15, 49.39, -69.27)
CIE-LCHlch(42.15, 85.07, 305.49°)
OKLaboklab(52.26% 0.0623 -0.1988)
OKLCHoklch(52.26% 0.208 287.4)
XYZxyz(20.5341, 12.5949, 66.3015)
Luminance0.1260 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6948D8 #B7D848
analogous
#486FD8 #6948D8 #B148D8
triadic
#6948D8 #D86948 #48D869
tetradic
#6948D8 #D8486F #B7D848 #48D8B1
square
#6948D8 #D8486F #B7D848 #48D8B1
split-complementary
#6948D8 #D8B148 #6FD848
monochromatic
#361D89 #4A28BB #6948D8 #927AE3 #BCADEE

Accessibility & contrast

On white

5.97
#6948D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#6948D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6948D8
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6948D8#FFFFFF#000000##FFFFFF
##6948D81.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067DC
Deuteranopia (green-blind)
#0060D5
Tritanopia (blue-blind)
#3F6C8A
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #6948d8;
/* rgb */ color: rgb(105, 72, 216);
/* oklch */ color: oklch(52.3% 0.208 287.4);
Tailwind
colors: {
  custom: {
    50: '#9d7de5',
    500: '#6948d8',
    950: '#000000',
  },
}
SCSS
$custom: #6948d8;
$custom-light: #9d7de5;
$custom-dark: #000000;
JSON
{
  "hex": "#6948d8",
  "rgb": {
    "r": 105,
    "g": 72,
    "b": 216
  },
  "hsl": {
    "h": 253.75,
    "s": 64.865,
    "l": 56.471
  },
  "oklch": {
    "l": 0.52259,
    "c": 0.20836,
    "h": 287.4
  },
  "luminance": 0.12596
}

Semantic roles & 50–950 ramp

primary
#6948D8
secondary
#CEDBA0
accent
#E840C1
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #6948D8

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

Preview Lab → · Contrast checker → · Palette generator →

#6948D8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva