#6833B2#6833B2

#6833B2 is a mid, vivid violet. Relative luminance 0.085; OKLCH L 46.2% C 0.189 H 297.5°. Best body text is #FFFFFF at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#6833B2
RGBrgb(104, 51, 178)
HSLhsl(265, 55%, 45%)
HSVhsv(265, 71%, 70%)
CMYKcmyk(41.6%, 71.3%, 0%, 30.2%)
CIE-LABlab(35.05, 49.70, -58.68)
CIE-LCHlch(35.05, 76.90, 310.27°)
OKLaboklab(46.22% 0.0874 -0.1677)
OKLCHoklch(46.22% 0.189 297.5)
XYZxyz(14.9265, 8.5248, 42.9699)
Luminance0.0853 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6833B2 #7DB233
analogous
#333EB2 #6833B2 #A733B2
triadic
#6833B2 #B26833 #33B268
tetradic
#6833B2 #B2333E #7DB233 #33B2A7
square
#6833B2 #B2333E #7DB233 #33B2A7
split-complementary
#6833B2 #B2A733 #3EB233
monochromatic
#301853 #4C2582 #6833B2 #8754CE #A884DC

Accessibility & contrast

On white

7.76
#6833B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#6833B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6833B2
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6833B2#FFFFFF#000000##FFFFFF
##6833B21.007.762.717.76
#FFFFFF7.761.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B6
Deuteranopia (green-blind)
#0051AF
Tritanopia (blue-blind)
#55536F
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #6833b2;
/* rgb */ color: rgb(104, 51, 178);
/* oklch */ color: oklch(46.2% 0.189 297.5);
Tailwind
colors: {
  custom: {
    50: '#996fca',
    500: '#6833b2',
    950: '#000000',
  },
}
SCSS
$custom: #6833b2;
$custom-light: #996fca;
$custom-dark: #000000;
JSON
{
  "hex": "#6833b2",
  "rgb": {
    "r": 104,
    "g": 51,
    "b": 178
  },
  "hsl": {
    "h": 265.039,
    "s": 55.459,
    "l": 44.902
  },
  "oklch": {
    "l": 0.46218,
    "c": 0.18908,
    "h": 297.5
  },
  "luminance": 0.08525
}

Semantic roles & 50–950 ramp

primary
#6833B2
secondary
#A6C57C
accent
#DF49A0
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0F0813
muted
#7E7B82

Preview Lab

Preview with #6833B2

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

Preview Lab → · Contrast checker → · Palette generator →

#6833B2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva