#6948CA#6948CA

#6948CA is a mid, vivid violet. Relative luminance 0.119; OKLCH L 51.1% C 0.191 H 289.6°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#6948CA
RGBrgb(105, 72, 202)
HSLhsl(255, 55%, 54%)
HSVhsv(255, 64%, 79%)
CMYKcmyk(48%, 64.4%, 0%, 20.8%)
CIE-LABlab(41.06, 45.38, -62.97)
CIE-LCHlch(41.06, 77.62, 305.78°)
OKLaboklab(51.14% 0.064 -0.1803)
OKLCHoklch(51.14% 0.191 289.6)
XYZxyz(18.8007, 11.9015, 57.1723)
Luminance0.1190 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6948CA #A9CA48
analogous
#4868CA #6948CA #AA48CA
triadic
#6948CA #CA6948 #48CA69
tetradic
#6948CA #CA4868 #A9CA48 #48CAAA
square
#6948CA #CA4868 #A9CA48 #48CAAA
split-complementary
#6948CA #CAAA48 #68CA48
monochromatic
#372276 #4E30A5 #6948CA #9077D8 #B7A7E5

Accessibility & contrast

On white

6.21
#6948CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#6948CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6948CA
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6948CA#FFFFFF#000000##FFFFFF
##6948CA1.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063CE
Deuteranopia (green-blind)
#005EC7
Tritanopia (blue-blind)
#496782
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #6948ca;
/* rgb */ color: rgb(105, 72, 202);
/* oklch */ color: oklch(51.1% 0.191 289.6);
Tailwind
colors: {
  custom: {
    50: '#9c7ddb',
    500: '#6948ca',
    950: '#000000',
  },
}
SCSS
$custom: #6948ca;
$custom-light: #9c7ddb;
$custom-dark: #000000;
JSON
{
  "hex": "#6948ca",
  "rgb": {
    "r": 105,
    "g": 72,
    "b": 202
  },
  "hsl": {
    "h": 255.231,
    "s": 55.085,
    "l": 53.725
  },
  "oklch": {
    "l": 0.51136,
    "c": 0.19137,
    "h": 289.6
  },
  "luminance": 0.11902
}

Semantic roles & 50–950 ramp

primary
#6948CA
secondary
#C5D39B
accent
#DE49B9
background
#FAF7FD
surface
#F3EEFB
border
#CDC9D4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #6948CA

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

Preview Lab → · Contrast checker → · Palette generator →

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