#6948AF#6948AF

#6948AF is a mid, vivid violet. Relative luminance 0.107; OKLCH L 49.1% C 0.157 H 294.7°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#6948AF
RGBrgb(105, 72, 175)
HSLhsl(259, 42%, 48%)
HSVhsv(259, 59%, 69%)
CMYKcmyk(40%, 58.9%, 0%, 31.4%)
CIE-LABlab(39.13, 37.76, -50.29)
CIE-LCHlch(39.13, 62.89, 306.90°)
OKLaboklab(49.12% 0.0658 -0.143)
OKLCHoklch(49.12% 0.157 294.7)
XYZxyz(15.8789, 10.7328, 41.7842)
Luminance0.1073 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6948AF #8EAF48
analogous
#485BAF #6948AF #9C48AF
triadic
#6948AF #AF6948 #48AF69
tetradic
#6948AF #AF485B #8EAF48 #48AF9C
square
#6948AF #AF485B #8EAF48 #48AF9C
split-complementary
#6948AF #AF9C48 #5BAF48
monochromatic
#352458 #4F3684 #6948AF #8B70C4 #AE9BD6

Accessibility & contrast

On white

6.67
#6948AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#6948AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6948AF
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6948AF#FFFFFF#000000##FFFFFF
##6948AF1.006.673.156.67
#FFFFFF6.671.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#065DB2
Deuteranopia (green-blind)
#195BAD
Tritanopia (blue-blind)
#575E74
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #6948af;
/* rgb */ color: rgb(105, 72, 175);
/* oklch */ color: oklch(49.1% 0.157 294.7);
Tailwind
colors: {
  custom: {
    50: '#987cc7',
    500: '#6948af',
    950: '#000000',
  },
}
SCSS
$custom: #6948af;
$custom-light: #987cc7;
$custom-dark: #000000;
JSON
{
  "hex": "#6948af",
  "rgb": {
    "r": 105,
    "g": 72,
    "b": 175
  },
  "hsl": {
    "h": 259.223,
    "s": 41.7,
    "l": 48.431
  },
  "oklch": {
    "l": 0.49117,
    "c": 0.15744,
    "h": 294.7
  },
  "luminance": 0.10733
}

Semantic roles & 50–950 ramp

primary
#6948AF
secondary
#B2C290
accent
#D256AA
background
#F9F7FC
surface
#F2EEF8
border
#CCC9D1
text
#0E0913
muted
#7E7B82

Preview Lab

Preview with #6948AF

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

Preview Lab → · Contrast checker → · Palette generator →

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