#6948DB#6948DB

#6948DB is a mid, highly saturated violet. Relative luminance 0.128; OKLCH L 52.5% C 0.212 H 287.0°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#6948DB
RGBrgb(105, 72, 219)
HSLhsl(253, 67%, 57%)
HSVhsv(253, 67%, 86%)
CMYKcmyk(52.1%, 67.1%, 0%, 14.1%)
CIE-LABlab(42.39, 50.25, -70.59)
CIE-LCHlch(42.39, 86.65, 305.44°)
OKLaboklab(52.51% 0.0619 -0.2027)
OKLCHoklch(52.51% 0.212 287)
XYZxyz(20.9255, 12.7514, 68.3628)
Luminance0.1275 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6948DB #BADB48
analogous
#4871DB #6948DB #B248DB
triadic
#6948DB #DB6948 #48DB69
tetradic
#6948DB #DB4871 #BADB48 #48DBB2
square
#6948DB #DB4871 #BADB48 #48DBB2
split-complementary
#6948DB #DBB248 #71DB48
monochromatic
#351C8D #4826C0 #6948DB #937BE5 #BDAEEF

Accessibility & contrast

On white

5.91
#6948DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#6948DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6948DB
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6948DB#FFFFFF#000000##FFFFFF
##6948DB1.005.913.555.91
#FFFFFF5.911.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068DF
Deuteranopia (green-blind)
#0060D8
Tritanopia (blue-blind)
#3C6D8C
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #6948db;
/* rgb */ color: rgb(105, 72, 219);
/* oklch */ color: oklch(52.5% 0.212 287.0);
Tailwind
colors: {
  custom: {
    50: '#9e7de7',
    500: '#6948db',
    950: '#000000',
  },
}
SCSS
$custom: #6948db;
$custom-light: #9e7de7;
$custom-dark: #000000;
JSON
{
  "hex": "#6948db",
  "rgb": {
    "r": 105,
    "g": 72,
    "b": 219
  },
  "hsl": {
    "h": 253.469,
    "s": 67.123,
    "l": 57.059
  },
  "oklch": {
    "l": 0.52506,
    "c": 0.21195,
    "h": 287
  },
  "luminance": 0.12752
}

Semantic roles & 50–950 ramp

primary
#6948DB
secondary
#D0DDA2
accent
#EA3EC3
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #6948DB

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

Preview Lab → · Contrast checker → · Palette generator →

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