#6830BC#6830BC

#6830BC is a mid, highly saturated violet. Relative luminance 0.087; OKLCH L 46.7% C 0.203 H 295.6°. Best body text is #FFFFFF at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#6830BC
RGBrgb(104, 48, 188)
HSLhsl(264, 59%, 46%)
HSVhsv(264, 74%, 74%)
CMYKcmyk(44.7%, 74.5%, 0%, 26.3%)
CIE-LABlab(35.38, 53.71, -64.07)
CIE-LCHlch(35.38, 83.60, 309.97°)
OKLaboklab(46.7% 0.088 -0.1835)
OKLCHoklch(46.7% 0.203 295.6)
XYZxyz(15.8405, 8.6874, 48.4094)
Luminance0.0869 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6830BC #84BC30
analogous
#303EBC #6830BC #AE30BC
triadic
#6830BC #BC6830 #30BC68
tetradic
#6830BC #BC303E #84BC30 #30BCAE
square
#6830BC #BC303E #84BC30 #30BCAE
split-complementary
#6830BC #BCAE30 #3EBC30
monochromatic
#32175A #4D248B #6830BC #8855D4 #AA86E0

Accessibility & contrast

On white

7.67
#6830BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#6830BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6830BC
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6830BC#FFFFFF#000000##FFFFFF
##6830BC1.007.672.747.67
#FFFFFF7.671.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054C0
Deuteranopia (green-blind)
#0051B9
Tritanopia (blue-blind)
#515574
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #6830bc;
/* rgb */ color: rgb(104, 48, 188);
/* oklch */ color: oklch(46.7% 0.203 295.6);
Tailwind
colors: {
  custom: {
    50: '#9b6ed1',
    500: '#6830bc',
    950: '#000000',
  },
}
SCSS
$custom: #6830bc;
$custom-light: #9b6ed1;
$custom-dark: #000000;
JSON
{
  "hex": "#6830bc",
  "rgb": {
    "r": 104,
    "g": 48,
    "b": 188
  },
  "hsl": {
    "h": 264,
    "s": 59.322,
    "l": 46.275
  },
  "oklch": {
    "l": 0.46702,
    "c": 0.20349,
    "h": 295.6
  },
  "luminance": 0.08688
}

Semantic roles & 50–950 ramp

primary
#6830BC
secondary
#ABCA7E
accent
#E345A4
background
#FAF6FD
surface
#F3ECFA
border
#CDC7D3
text
#0F0714
muted
#7F7A83

Preview Lab

Preview with #6830BC

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

Preview Lab → · Contrast checker → · Palette generator →

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