#6948DD#6948DD

#6948DD is a mid, highly saturated violet. Relative luminance 0.129; OKLCH L 52.7% C 0.214 H 286.7°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#6948DD
RGBrgb(105, 72, 221)
HSLhsl(253, 69%, 57%)
HSVhsv(253, 67%, 87%)
CMYKcmyk(52.5%, 67.4%, 0%, 13.3%)
CIE-LABlab(42.55, 50.82, -71.47)
CIE-LCHlch(42.55, 87.70, 305.42°)
OKLaboklab(52.67% 0.0616 -0.2053)
OKLCHoklch(52.67% 0.214 286.7)
XYZxyz(21.1903, 12.8574, 69.7577)
Luminance0.1286 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6948DD #BCDD48
analogous
#4871DD #6948DD #B448DD
triadic
#6948DD #DD6948 #48DD69
tetradic
#6948DD #DD4871 #BCDD48 #48DDB4
square
#6948DD #DD4871 #BCDD48 #48DDB4
split-complementary
#6948DD #DDB448 #71DD48
monochromatic
#351B90 #4824C3 #6948DD #937CE7 #BEAFF0

Accessibility & contrast

On white

5.88
#6948DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#6948DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6948DD
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6948DD#FFFFFF#000000##FFFFFF
##6948DD1.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068E2
Deuteranopia (green-blind)
#0060DA
Tritanopia (blue-blind)
#3B6E8D
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #6948dd;
/* rgb */ color: rgb(105, 72, 221);
/* oklch */ color: oklch(52.7% 0.214 286.7);
Tailwind
colors: {
  custom: {
    50: '#9e7de9',
    500: '#6948dd',
    950: '#000000',
  },
}
SCSS
$custom: #6948dd;
$custom-light: #9e7de9;
$custom-dark: #000000;
JSON
{
  "hex": "#6948dd",
  "rgb": {
    "r": 105,
    "g": 72,
    "b": 221
  },
  "hsl": {
    "h": 253.289,
    "s": 68.664,
    "l": 57.451
  },
  "oklch": {
    "l": 0.52672,
    "c": 0.21434,
    "h": 286.7
  },
  "luminance": 0.12858
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6948DD

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

Preview Lab → · Contrast checker → · Palette generator →

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