#6834BB#6834BB

#6834BB is a mid, vivid violet. Relative luminance 0.090; OKLCH L 47.1% C 0.198 H 295.3°. Best body text is #FFFFFF at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#6834BB
RGBrgb(104, 52, 187)
HSLhsl(263, 56%, 47%)
HSVhsv(263, 72%, 73%)
CMYKcmyk(44.4%, 72.2%, 0%, 26.7%)
CIE-LABlab(35.96, 51.57, -62.53)
CIE-LCHlch(35.96, 81.05, 309.51°)
OKLaboklab(47.09% 0.0846 -0.179)
OKLCHoklch(47.09% 0.198 295.3)
XYZxyz(15.9041, 8.9865, 47.9007)
Luminance0.0899 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6834BB #87BB34
analogous
#3444BB #6834BB #AC34BB
triadic
#6834BB #BB6834 #34BB68
tetradic
#6834BB #BB3444 #87BB34 #34BBAC
square
#6834BB #BB3444 #87BB34 #34BBAC
split-complementary
#6834BB #BBAC34 #44BB34
monochromatic
#33195B #4D278B #6834BB #885BD1 #AB8BDF

Accessibility & contrast

On white

7.51
#6834BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#6834BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6834BB
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6834BB#FFFFFF#000000##FFFFFF
##6834BB1.007.512.807.51
#FFFFFF7.511.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056BF
Deuteranopia (green-blind)
#0052B8
Tritanopia (blue-blind)
#515774
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #6834bb;
/* rgb */ color: rgb(104, 52, 187);
/* oklch */ color: oklch(47.1% 0.198 295.3);
Tailwind
colors: {
  custom: {
    50: '#9a70d0',
    500: '#6834bb',
    950: '#000000',
  },
}
SCSS
$custom: #6834bb;
$custom-light: #9a70d0;
$custom-dark: #000000;
JSON
{
  "hex": "#6834bb",
  "rgb": {
    "r": 104,
    "g": 52,
    "b": 187
  },
  "hsl": {
    "h": 263.111,
    "s": 56.485,
    "l": 46.863
  },
  "oklch": {
    "l": 0.47088,
    "c": 0.19798,
    "h": 295.3
  },
  "luminance": 0.08987
}

Semantic roles & 50–950 ramp

primary
#6834BB
secondary
#AEC982
accent
#E048A5
background
#FAF7FC
surface
#F3EDF9
border
#CDC8D2
text
#0F0814
muted
#7F7B82

Preview Lab

Preview with #6834BB

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

Preview Lab → · Contrast checker → · Palette generator →

#6834BB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva