#6833C2#6833C2

#6833C2 is a mid, highly saturated violet. Relative luminance 0.092; OKLCH L 47.6% C 0.207 H 293.9°. Best body text is #FFFFFF at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#6833C2
RGBrgb(104, 51, 194)
HSLhsl(262, 58%, 48%)
HSVhsv(262, 74%, 76%)
CMYKcmyk(46.4%, 73.7%, 0%, 23.9%)
CIE-LABlab(36.38, 53.88, -65.96)
CIE-LCHlch(36.38, 85.17, 309.25°)
OKLaboklab(47.57% 0.0839 -0.1891)
OKLCHoklch(47.57% 0.207 293.9)
XYZxyz(16.6277, 9.2053, 51.9292)
Luminance0.0921 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6833C2 #8DC233
analogous
#3345C2 #6833C2 #AF33C2
triadic
#6833C2 #C26833 #33C268
tetradic
#6833C2 #C23345 #8DC233 #33C2AF
square
#6833C2 #C23345 #8DC233 #33C2AF
split-complementary
#6833C2 #C2AF33 #45C233
monochromatic
#341A61 #4E2692 #6833C2 #8A5ED5 #AD8EE1

Accessibility & contrast

On white

7.39
#6833C2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#6833C2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6833C2
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6833C2#FFFFFF#000000##FFFFFF
##6833C21.007.392.847.39
#FFFFFF7.391.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057C6
Deuteranopia (green-blind)
#0053BF
Tritanopia (blue-blind)
#4D5978
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #6833c2;
/* rgb */ color: rgb(104, 51, 194);
/* oklch */ color: oklch(47.6% 0.207 293.9);
Tailwind
colors: {
  custom: {
    50: '#9b70d6',
    500: '#6833c2',
    950: '#000000',
  },
}
SCSS
$custom: #6833c2;
$custom-light: #9b70d6;
$custom-dark: #000000;
JSON
{
  "hex": "#6833c2",
  "rgb": {
    "r": 104,
    "g": 51,
    "b": 194
  },
  "hsl": {
    "h": 262.238,
    "s": 58.367,
    "l": 48.039
  },
  "oklch": {
    "l": 0.47565,
    "c": 0.20685,
    "h": 293.9
  },
  "luminance": 0.09206
}

Semantic roles & 50–950 ramp

primary
#6833C2
secondary
#B2CC85
accent
#E246A8
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#0F0814
muted
#7F7B83

Preview Lab

Preview with #6833C2

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

Preview Lab → · Contrast checker → · Palette generator →

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