#6848BC#6848BC

#6848BC is a mid, vivid violet. Relative luminance 0.112; OKLCH L 50.0% C 0.174 H 291.5°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#6848BC
RGBrgb(104, 72, 188)
HSLhsl(257, 46%, 51%)
HSVhsv(257, 62%, 74%)
CMYKcmyk(44.7%, 61.7%, 0%, 26.3%)
CIE-LABlab(39.93, 41.20, -56.66)
CIE-LCHlch(39.93, 70.05, 306.02°)
OKLaboklab(49.97% 0.0639 -0.1618)
OKLCHoklch(49.97% 0.174 291.5)
XYZxyz(17.1009, 11.2081, 48.8296)
Luminance0.1121 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6848BC #9CBC48
analogous
#4862BC #6848BC #A248BC
triadic
#6848BC #BC6848 #48BC68
tetradic
#6848BC #BC4862 #9CBC48 #48BCA2
square
#6848BC #BC4862 #9CBC48 #48BCA2
split-complementary
#6848BC #BCA248 #62BC48
monochromatic
#362565 #4F3592 #6848BC #8D75CC #B2A2DD

Accessibility & contrast

On white

6.48
#6848BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#6848BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6848BC
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6848BC#FFFFFF#000000##FFFFFF
##6848BC1.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C0
Deuteranopia (green-blind)
#005CBA
Tritanopia (blue-blind)
#4F637B
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #6848bc;
/* rgb */ color: rgb(104, 72, 188);
/* oklch */ color: oklch(50.0% 0.174 291.5);
Tailwind
colors: {
  custom: {
    50: '#997cd1',
    500: '#6848bc',
    950: '#000000',
  },
}
SCSS
$custom: #6848bc;
$custom-light: #997cd1;
$custom-dark: #000000;
JSON
{
  "hex": "#6848bc",
  "rgb": {
    "r": 104,
    "g": 72,
    "b": 188
  },
  "hsl": {
    "h": 256.552,
    "s": 46.4,
    "l": 50.98
  },
  "oklch": {
    "l": 0.49966,
    "c": 0.17395,
    "h": 291.5
  },
  "luminance": 0.11209
}

Semantic roles & 50–950 ramp

primary
#6848BC
secondary
#BBCA96
accent
#D652B2
background
#F9F7FC
surface
#F2EEF9
border
#CCC9D2
text
#0E0A14
muted
#7E7C82

Preview Lab

Preview with #6848BC

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

Preview Lab → · Contrast checker → · Palette generator →

#6848BC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva