#6928B1#6928B1

#6928B1 is a mid, highly saturated violet. Relative luminance 0.077; OKLCH L 45.0% C 0.200 H 299.6°. Best body text is #FFFFFF at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#6928B1
RGBrgb(105, 40, 177)
HSLhsl(268, 63%, 43%)
HSVhsv(268, 77%, 69%)
CMYKcmyk(40.7%, 77.4%, 0%, 30.6%)
CIE-LABlab(33.34, 54.61, -60.87)
CIE-LCHlch(33.34, 81.78, 311.89°)
OKLaboklab(45.01% 0.099 -0.174)
OKLCHoklch(45.01% 0.2 299.6)
XYZxyz(14.5183, 7.6950, 42.3068)
Luminance0.0770 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6928B1 #70B128
analogous
#282BB1 #6928B1 #AD28B1
triadic
#6928B1 #B16928 #28B169
tetradic
#6928B1 #B1282B #70B128 #28B1AD
square
#6928B1 #B1282B #70B128 #28B1AD
split-complementary
#6928B1 #B1AD28 #2BB128
monochromatic
#2E114D #4B1D7F #6928B1 #8742D4 #A774E0

Accessibility & contrast

On white

8.27
#6928B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#6928B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6928B1
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6928B1#FFFFFF#000000##FFFFFF
##6928B11.008.272.548.27
#FFFFFF8.271.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB5
Deuteranopia (green-blind)
#004DAE
Tritanopia (blue-blind)
#584D6C
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #6928b1;
/* rgb */ color: rgb(105, 40, 177);
/* oklch */ color: oklch(45.0% 0.200 299.6);
Tailwind
colors: {
  custom: {
    50: '#9b69c9',
    500: '#6928b1',
    950: '#000000',
  },
}
SCSS
$custom: #6928b1;
$custom-light: #9b69c9;
$custom-dark: #000000;
JSON
{
  "hex": "#6928b1",
  "rgb": {
    "r": 105,
    "g": 40,
    "b": 177
  },
  "hsl": {
    "h": 268.467,
    "s": 63.134,
    "l": 42.549
  },
  "oklch": {
    "l": 0.45012,
    "c": 0.20024,
    "h": 299.6
  },
  "luminance": 0.07695
}

Semantic roles & 50–950 ramp

primary
#6928B1
secondary
#9DC76E
accent
#E64298
background
#FAF6FC
surface
#F3EBF8
border
#CDC6D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6928B1

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

Preview Lab → · Contrast checker → · Palette generator →

#6928B1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva