#6830C9#6830C9

#6830C9 is a mid, highly saturated violet. Relative luminance 0.093; OKLCH L 47.8% C 0.218 H 292.9°. Best body text is #FFFFFF at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#6830C9
RGBrgb(104, 48, 201)
HSLhsl(262, 61%, 49%)
HSVhsv(262, 76%, 79%)
CMYKcmyk(48.3%, 76.1%, 0%, 21.2%)
CIE-LABlab(36.51, 57.07, -69.83)
CIE-LCHlch(36.51, 90.19, 309.26°)
OKLaboklab(47.84% 0.0846 -0.2004)
OKLCHoklch(47.84% 0.218 292.9)
XYZxyz(17.3055, 9.2734, 56.1251)
Luminance0.0927 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6830C9 #91C930
analogous
#3044C9 #6830C9 #B530C9
triadic
#6830C9 #C96830 #30C968
tetradic
#6830C9 #C93044 #91C930 #30C9B5
square
#6830C9 #C93044 #91C930 #30C9B5
split-complementary
#6830C9 #C9B530 #44C930
monochromatic
#351866 #4E2498 #6830C9 #8B5ED8 #AE8FE4

Accessibility & contrast

On white

7.36
#6830C9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#6830C9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6830C9
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6830C9#FFFFFF#000000##FFFFFF
##6830C91.007.362.857.36
#FFFFFF7.361.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058CD
Deuteranopia (green-blind)
#0053C6
Tritanopia (blue-blind)
#495A7B
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #6830c9;
/* rgb */ color: rgb(104, 48, 201);
/* oklch */ color: oklch(47.8% 0.218 292.9);
Tailwind
colors: {
  custom: {
    50: '#9c6fdb',
    500: '#6830c9',
    950: '#000000',
  },
}
SCSS
$custom: #6830c9;
$custom-light: #9c6fdb;
$custom-dark: #000000;
JSON
{
  "hex": "#6830c9",
  "rgb": {
    "r": 104,
    "g": 48,
    "b": 201
  },
  "hsl": {
    "h": 261.961,
    "s": 61.446,
    "l": 48.824
  },
  "oklch": {
    "l": 0.47842,
    "c": 0.21753,
    "h": 292.9
  },
  "luminance": 0.09274
}

Semantic roles & 50–950 ramp

primary
#6830C9
secondary
#B4CF86
accent
#E543AA
background
#FAF6FD
surface
#F4ECFB
border
#CEC7D4
text
#0F0815
muted
#7F7B83

Preview Lab

Preview with #6830C9

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

Preview Lab → · Contrast checker → · Palette generator →

#6830C9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva