#6948DE#6948DE

#6948DE is a mid, highly saturated violet. Relative luminance 0.129; OKLCH L 52.8% C 0.216 H 286.6°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#6948DE
RGBrgb(105, 72, 222)
HSLhsl(253, 69%, 58%)
HSVhsv(253, 68%, 87%)
CMYKcmyk(52.7%, 67.6%, 0%, 12.9%)
CIE-LABlab(42.63, 51.11, -71.91)
CIE-LCHlch(42.63, 88.22, 305.40°)
OKLaboklab(52.76% 0.0614 -0.2066)
OKLCHoklch(52.76% 0.216 286.6)
XYZxyz(21.3240, 12.9108, 70.4615)
Luminance0.1291 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6948DE #BDDE48
analogous
#4872DE #6948DE #B448DE
triadic
#6948DE #DE6948 #48DE69
tetradic
#6948DE #DE4872 #BDDE48 #48DEB4
square
#6948DE #DE4872 #BDDE48 #48DEB4
split-complementary
#6948DE #DEB448 #72DE48
monochromatic
#341A91 #4724C5 #6948DE #937CE7 #BEB0F1

Accessibility & contrast

On white

5.86
#6948DE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#6948DE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6948DE
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6948DE#FFFFFF#000000##FFFFFF
##6948DE1.005.863.585.86
#FFFFFF5.861.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068E3
Deuteranopia (green-blind)
#0060DB
Tritanopia (blue-blind)
#3A6E8D
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #6948de;
/* rgb */ color: rgb(105, 72, 222);
/* oklch */ color: oklch(52.8% 0.216 286.6);
Tailwind
colors: {
  custom: {
    50: '#9e7de9',
    500: '#6948de',
    950: '#000000',
  },
}
SCSS
$custom: #6948de;
$custom-light: #9e7de9;
$custom-dark: #000000;
JSON
{
  "hex": "#6948de",
  "rgb": {
    "r": 105,
    "g": 72,
    "b": 222
  },
  "hsl": {
    "h": 253.2,
    "s": 69.444,
    "l": 57.647
  },
  "oklch": {
    "l": 0.52755,
    "c": 0.21553,
    "h": 286.6
  },
  "luminance": 0.12912
}

Semantic roles & 50–950 ramp

primary
#6948DE
secondary
#D2DFA3
accent
#EC3CC5
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #6948DE

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

Preview Lab → · Contrast checker → · Palette generator →

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