#6921BD#6921BD

#6921BD is a mid, highly saturated violet. Relative luminance 0.078; OKLCH L 45.4% C 0.219 H 297.4°. Best body text is #FFFFFF at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#6921BD
RGBrgb(105, 33, 189)
HSLhsl(268, 70%, 44%)
HSVhsv(268, 83%, 74%)
CMYKcmyk(44.4%, 82.5%, 0%, 25.9%)
CIE-LABlab(33.49, 60.17, -67.75)
CIE-LCHlch(33.49, 90.61, 311.61°)
OKLaboklab(45.44% 0.1005 -0.1941)
OKLCHoklch(45.44% 0.219 297.4)
XYZxyz(15.5524, 7.7648, 48.8136)
Luminance0.0776 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6921BD #75BD21
analogous
#2127BD #6921BD #B721BD
triadic
#6921BD #BD6921 #21BD69
tetradic
#6921BD #BD2127 #75BD21 #21BDB7
square
#6921BD #BD2127 #75BD21 #21BDB7
split-complementary
#6921BD #BDB721 #27BD21
monochromatic
#2F0F55 #4C1889 #6921BD #873EDD #A872E6

Accessibility & contrast

On white

8.23
#6921BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#6921BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6921BD
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6921BD#FFFFFF#000000##FFFFFF
##6921BD1.008.232.558.23
#FFFFFF8.231.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FC1
Deuteranopia (green-blind)
#004DBA
Tritanopia (blue-blind)
#524F71
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #6921bd;
/* rgb */ color: rgb(105, 33, 189);
/* oklch */ color: oklch(45.4% 0.219 297.4);
Tailwind
colors: {
  custom: {
    50: '#9c67d2',
    500: '#6921bd',
    950: '#000000',
  },
}
SCSS
$custom: #6921bd;
$custom-light: #9c67d2;
$custom-dark: #000000;
JSON
{
  "hex": "#6921bd",
  "rgb": {
    "r": 105,
    "g": 33,
    "b": 189
  },
  "hsl": {
    "h": 267.692,
    "s": 70.27,
    "l": 43.529
  },
  "oklch": {
    "l": 0.45441,
    "c": 0.21862,
    "h": 297.4
  },
  "luminance": 0.07765
}

Semantic roles & 50–950 ramp

primary
#6921BD
secondary
#A1CD6D
accent
#ED3B9B
background
#FAF6FD
surface
#F4EBFA
border
#CEC6D3
text
#0F0714
muted
#7F7A83

Preview Lab

Preview with #6921BD

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

Preview Lab → · Contrast checker → · Palette generator →

#6921BD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva