#6834BE#6834BE

#6834BE is a mid, highly saturated violet. Relative luminance 0.091; OKLCH L 47.3% C 0.201 H 294.6°. Best body text is #FFFFFF at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#6834BE
RGBrgb(104, 52, 190)
HSLhsl(263, 57%, 47%)
HSVhsv(263, 73%, 75%)
CMYKcmyk(45.3%, 72.6%, 0%, 25.5%)
CIE-LABlab(36.21, 52.36, -63.89)
CIE-LCHlch(36.21, 82.60, 309.34°)
OKLaboklab(47.34% 0.0839 -0.183)
OKLCHoklch(47.34% 0.201 294.6)
XYZxyz(16.2287, 9.1163, 49.6098)
Luminance0.0912 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6834BE #8ABE34
analogous
#3445BE #6834BE #AD34BE
triadic
#6834BE #BE6834 #34BE68
tetradic
#6834BE #BE3445 #8ABE34 #34BEAD
square
#6834BE #BE3445 #8ABE34 #34BEAD
split-complementary
#6834BE #BEAD34 #45BE34
monochromatic
#331A5E #4E278E #6834BE #895DD3 #AC8DE0

Accessibility & contrast

On white

7.44
#6834BE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#6834BE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6834BE
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6834BE#FFFFFF#000000##FFFFFF
##6834BE1.007.442.827.44
#FFFFFF7.441.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056C2
Deuteranopia (green-blind)
#0053BB
Tritanopia (blue-blind)
#4F5876
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #6834be;
/* rgb */ color: rgb(104, 52, 190);
/* oklch */ color: oklch(47.3% 0.201 294.6);
Tailwind
colors: {
  custom: {
    50: '#9b70d3',
    500: '#6834be',
    950: '#000000',
  },
}
SCSS
$custom: #6834be;
$custom-light: #9b70d3;
$custom-dark: #000000;
JSON
{
  "hex": "#6834be",
  "rgb": {
    "r": 104,
    "g": 52,
    "b": 190
  },
  "hsl": {
    "h": 262.609,
    "s": 57.025,
    "l": 47.451
  },
  "oklch": {
    "l": 0.47341,
    "c": 0.20132,
    "h": 294.6
  },
  "luminance": 0.09117
}

Semantic roles & 50–950 ramp

primary
#6834BE
secondary
#B0CA84
accent
#E048A7
background
#FAF7FD
surface
#F3EDFA
border
#CDC8D3
text
#0F0814
muted
#7F7B83

Preview Lab

Preview with #6834BE

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

Preview Lab → · Contrast checker → · Palette generator →

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