#6948DF#6948DF

#6948DF is a mid, highly saturated violet. Relative luminance 0.130; OKLCH L 52.8% C 0.217 H 286.4°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#6948DF
RGBrgb(105, 72, 223)
HSLhsl(253, 70%, 58%)
HSVhsv(253, 68%, 87%)
CMYKcmyk(52.9%, 67.7%, 0%, 12.5%)
CIE-LABlab(42.71, 51.40, -72.35)
CIE-LCHlch(42.71, 88.74, 305.39°)
OKLaboklab(52.84% 0.0613 -0.2079)
OKLCHoklch(52.84% 0.217 286.4)
XYZxyz(21.4584, 12.9646, 71.1694)
Luminance0.1297 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6948DF #BEDF48
analogous
#4872DF #6948DF #B548DF
triadic
#6948DF #DF6948 #48DF69
tetradic
#6948DF #DF4872 #BEDF48 #48DFB5
square
#6948DF #DF4872 #BEDF48 #48DFB5
split-complementary
#6948DF #DFB548 #72DF48
monochromatic
#341A93 #4723C7 #6948DF #947CE8 #BEB0F1

Accessibility & contrast

On white

5.84
#6948DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#6948DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6948DF
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6948DF#FFFFFF#000000##FFFFFF
##6948DF1.005.843.595.84
#FFFFFF5.841.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069E4
Deuteranopia (green-blind)
#0060DC
Tritanopia (blue-blind)
#396F8E
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #6948df;
/* rgb */ color: rgb(105, 72, 223);
/* oklch */ color: oklch(52.8% 0.217 286.4);
Tailwind
colors: {
  custom: {
    50: '#9e7dea',
    500: '#6948df',
    950: '#000000',
  },
}
SCSS
$custom: #6948df;
$custom-light: #9e7dea;
$custom-dark: #000000;
JSON
{
  "hex": "#6948df",
  "rgb": {
    "r": 105,
    "g": 72,
    "b": 223
  },
  "hsl": {
    "h": 253.113,
    "s": 70.233,
    "l": 57.843
  },
  "oklch": {
    "l": 0.52839,
    "c": 0.21671,
    "h": 286.4
  },
  "luminance": 0.12966
}

Semantic roles & 50–950 ramp

primary
#6948DF
secondary
#D2E0A3
accent
#ED3BC6
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #6948DF

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

Preview Lab → · Contrast checker → · Palette generator →

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