#6948DC#6948DC

#6948DC is a mid, highly saturated violet. Relative luminance 0.128; OKLCH L 52.6% C 0.213 H 286.8°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#6948DC
RGBrgb(105, 72, 220)
HSLhsl(253, 68%, 57%)
HSVhsv(253, 67%, 86%)
CMYKcmyk(52.3%, 67.3%, 0%, 13.7%)
CIE-LABlab(42.47, 50.54, -71.03)
CIE-LCHlch(42.47, 87.17, 305.43°)
OKLaboklab(52.59% 0.0617 -0.204)
OKLCHoklch(52.59% 0.213 286.8)
XYZxyz(21.0575, 12.8042, 69.0582)
Luminance0.1280 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6948DC #BBDC48
analogous
#4871DC #6948DC #B348DC
triadic
#6948DC #DC6948 #48DC69
tetradic
#6948DC #DC4871 #BBDC48 #48DCB3
square
#6948DC #DC4871 #BBDC48 #48DCB3
split-complementary
#6948DC #DCB348 #71DC48
monochromatic
#351B8E #4825C2 #6948DC #937BE6 #BDAFF0

Accessibility & contrast

On white

5.90
#6948DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#6948DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6948DC
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6948DC#FFFFFF#000000##FFFFFF
##6948DC1.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068E1
Deuteranopia (green-blind)
#0060D9
Tritanopia (blue-blind)
#3B6E8C
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #6948dc;
/* rgb */ color: rgb(105, 72, 220);
/* oklch */ color: oklch(52.6% 0.213 286.8);
Tailwind
colors: {
  custom: {
    50: '#9e7de8',
    500: '#6948dc',
    950: '#000000',
  },
}
SCSS
$custom: #6948dc;
$custom-light: #9e7de8;
$custom-dark: #000000;
JSON
{
  "hex": "#6948dc",
  "rgb": {
    "r": 105,
    "g": 72,
    "b": 220
  },
  "hsl": {
    "h": 253.378,
    "s": 67.89,
    "l": 57.255
  },
  "oklch": {
    "l": 0.52589,
    "c": 0.21314,
    "h": 286.8
  },
  "luminance": 0.12805
}

Semantic roles & 50–950 ramp

primary
#6948DC
secondary
#D1DEA2
accent
#EB3DC4
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #6948DC

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

Preview Lab → · Contrast checker → · Palette generator →

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