#6948D9#6948D9

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

Color values

HEX#6948D9
RGBrgb(105, 72, 217)
HSLhsl(254, 66%, 57%)
HSVhsv(254, 67%, 85%)
CMYKcmyk(51.6%, 66.8%, 0%, 14.9%)
CIE-LABlab(42.23, 49.68, -69.71)
CIE-LCHlch(42.23, 85.60, 305.47°)
OKLaboklab(52.34% 0.0622 -0.2001)
OKLCHoklch(52.34% 0.21 287.3)
XYZxyz(20.6638, 12.6467, 66.9844)
Luminance0.1265 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6948D9 #B8D948
analogous
#4870D9 #6948D9 #B248D9
triadic
#6948D9 #D96948 #48D969
tetradic
#6948D9 #D94870 #B8D948 #48D9B2
square
#6948D9 #D94870 #B8D948 #48D9B2
split-complementary
#6948D9 #D9B248 #70D948
monochromatic
#361D8A #4927BD #6948D9 #937BE4 #BCADEE

Accessibility & contrast

On white

5.95
#6948D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#6948D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6948D9
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6948D9#FFFFFF#000000##FFFFFF
##6948D91.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067DD
Deuteranopia (green-blind)
#0060D6
Tritanopia (blue-blind)
#3E6D8B
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #6948d9;
/* rgb */ color: rgb(105, 72, 217);
/* oklch */ color: oklch(52.3% 0.210 287.3);
Tailwind
colors: {
  custom: {
    50: '#9e7de6',
    500: '#6948d9',
    950: '#000000',
  },
}
SCSS
$custom: #6948d9;
$custom-light: #9e7de6;
$custom-dark: #000000;
JSON
{
  "hex": "#6948d9",
  "rgb": {
    "r": 105,
    "g": 72,
    "b": 217
  },
  "hsl": {
    "h": 253.655,
    "s": 65.611,
    "l": 56.667
  },
  "oklch": {
    "l": 0.52341,
    "c": 0.20956,
    "h": 287.3
  },
  "luminance": 0.12648
}

Semantic roles & 50–950 ramp

primary
#6948D9
secondary
#CFDCA1
accent
#E93FC2
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #6948D9

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

Preview Lab → · Contrast checker → · Palette generator →

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