#6948E5#6948E5

#6948E5 is a mid, highly saturated violet. Relative luminance 0.133; OKLCH L 53.3% C 0.224 H 285.6°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#6948E5
RGBrgb(105, 72, 229)
HSLhsl(253, 75%, 59%)
HSVhsv(253, 69%, 90%)
CMYKcmyk(54.1%, 68.6%, 0%, 10.2%)
CIE-LABlab(43.20, 53.12, -74.95)
CIE-LCHlch(43.20, 91.86, 305.32°)
OKLaboklab(53.34% 0.0603 -0.2155)
OKLCHoklch(53.34% 0.224 285.6)
XYZxyz(22.2817, 13.2939, 75.5054)
Luminance0.1330 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6948E5 #C4E548
analogous
#4876E5 #6948E5 #B748E5
triadic
#6948E5 #E56948 #48E569
tetradic
#6948E5 #E54876 #C4E548 #48E5B7
square
#6948E5 #E54876 #C4E548 #48E5B7
split-complementary
#6948E5 #E5B748 #76E548
monochromatic
#32169C #441ED2 #6948E5 #957EED #C1B3F4

Accessibility & contrast

On white

5.74
#6948E5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#6948E5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6948E5
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6948E5#FFFFFF#000000##FFFFFF
##6948E51.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AEA
Deuteranopia (green-blind)
#0061E2
Tritanopia (blue-blind)
#327191
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #6948e5;
/* rgb */ color: rgb(105, 72, 229);
/* oklch */ color: oklch(53.3% 0.224 285.6);
Tailwind
colors: {
  custom: {
    50: '#9f7eee',
    500: '#6948e5',
    950: '#000000',
  },
}
SCSS
$custom: #6948e5;
$custom-light: #9f7eee;
$custom-dark: #000000;
JSON
{
  "hex": "#6948e5",
  "rgb": {
    "r": 105,
    "g": 72,
    "b": 229
  },
  "hsl": {
    "h": 252.611,
    "s": 75.12,
    "l": 59.02
  },
  "oklch": {
    "l": 0.53344,
    "c": 0.2238,
    "h": 285.6
  },
  "luminance": 0.13295
}

Semantic roles & 50–950 ramp

primary
#6948E5
secondary
#D6E3A6
accent
#F236CA
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A17
muted
#7F7C85

Preview Lab

Preview with #6948E5

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

Preview Lab → · Contrast checker → · Palette generator →

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