#6831C8#6831C8

#6831C8 is a mid, highly saturated violet. Relative luminance 0.093; OKLCH L 47.9% C 0.215 H 293.0°. Best body text is #FFFFFF at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#6831C8
RGBrgb(104, 49, 200)
HSLhsl(262, 61%, 49%)
HSVhsv(262, 76%, 78%)
CMYKcmyk(48%, 75.5%, 0%, 21.6%)
CIE-LABlab(36.57, 56.37, -69.14)
CIE-LCHlch(36.57, 89.21, 309.19°)
OKLaboklab(47.86% 0.0841 -0.1984)
OKLCHoklch(47.86% 0.215 293)
XYZxyz(17.2297, 9.3092, 55.5214)
Luminance0.0931 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6831C8 #91C831
analogous
#3146C8 #6831C8 #B431C8
triadic
#6831C8 #C86831 #31C868
tetradic
#6831C8 #C83146 #91C831 #31C8B4
square
#6831C8 #C83146 #91C831 #31C8B4
split-complementary
#6831C8 #C8B431 #46C831
monochromatic
#351966 #4E2597 #6831C8 #8B5FD8 #AE90E4

Accessibility & contrast

On white

7.34
#6831C8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#6831C8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6831C8
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6831C8#FFFFFF#000000##FFFFFF
##6831C81.007.342.867.34
#FFFFFF7.341.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058CC
Deuteranopia (green-blind)
#0053C5
Tritanopia (blue-blind)
#4A5A7B
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #6831c8;
/* rgb */ color: rgb(104, 49, 200);
/* oklch */ color: oklch(47.9% 0.215 293.0);
Tailwind
colors: {
  custom: {
    50: '#9c6fda',
    500: '#6831c8',
    950: '#000000',
  },
}
SCSS
$custom: #6831c8;
$custom-light: #9c6fda;
$custom-dark: #000000;
JSON
{
  "hex": "#6831c8",
  "rgb": {
    "r": 104,
    "g": 49,
    "b": 200
  },
  "hsl": {
    "h": 261.854,
    "s": 60.643,
    "l": 48.824
  },
  "oklch": {
    "l": 0.47862,
    "c": 0.21547,
    "h": 293
  },
  "luminance": 0.0931
}

Semantic roles & 50–950 ramp

primary
#6831C8
secondary
#B4CE86
accent
#E444AA
background
#FAF6FD
surface
#F4ECFB
border
#CEC7D4
text
#0F0815
muted
#7F7B83

Preview Lab

Preview with #6831C8

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

Preview Lab → · Contrast checker → · Palette generator →

#6831C8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva