#6948CE#6948CE

#6948CE is a mid, vivid violet. Relative luminance 0.121; OKLCH L 51.5% C 0.196 H 288.9°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#6948CE
RGBrgb(105, 72, 206)
HSLhsl(255, 58%, 55%)
HSVhsv(255, 65%, 81%)
CMYKcmyk(49%, 65%, 0%, 19.2%)
CIE-LABlab(41.36, 46.53, -64.79)
CIE-LCHlch(41.36, 79.76, 305.68°)
OKLaboklab(51.45% 0.0636 -0.1857)
OKLCHoklch(51.45% 0.196 288.9)
XYZxyz(19.2804, 12.0934, 59.6989)
Luminance0.1209 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6948CE #ADCE48
analogous
#486ACE #6948CE #AC48CE
triadic
#6948CE #CE6948 #48CE69
tetradic
#6948CE #CE486A #ADCE48 #48CEAC
square
#6948CE #CE486A #ADCE48 #48CEAC
split-complementary
#6948CE #CEAC48 #6ACE48
monochromatic
#37217B #4D2EAB #6948CE #9178DB #B8A9E8

Accessibility & contrast

On white

6.14
#6948CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#6948CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6948CE
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6948CE#FFFFFF#000000##FFFFFF
##6948CE1.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D2
Deuteranopia (green-blind)
#005ECB
Tritanopia (blue-blind)
#466985
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #6948ce;
/* rgb */ color: rgb(105, 72, 206);
/* oklch */ color: oklch(51.5% 0.196 288.9);
Tailwind
colors: {
  custom: {
    50: '#9c7dde',
    500: '#6948ce',
    950: '#000000',
  },
}
SCSS
$custom: #6948ce;
$custom-light: #9c7dde;
$custom-dark: #000000;
JSON
{
  "hex": "#6948ce",
  "rgb": {
    "r": 105,
    "g": 72,
    "b": 206
  },
  "hsl": {
    "h": 254.776,
    "s": 57.759,
    "l": 54.51
  },
  "oklch": {
    "l": 0.51452,
    "c": 0.19627,
    "h": 288.9
  },
  "luminance": 0.12094
}

Semantic roles & 50–950 ramp

primary
#6948CE
secondary
#C7D59D
accent
#E147BB
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #6948CE

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

Preview Lab → · Contrast checker → · Palette generator →

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