#6825BD#6825BD

#6825BD is a mid, highly saturated violet. Relative luminance 0.079; OKLCH L 45.7% C 0.215 H 296.6°. Best body text is #FFFFFF at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#6825BD
RGBrgb(104, 37, 189)
HSLhsl(266, 67%, 44%)
HSVhsv(266, 80%, 74%)
CMYKcmyk(45%, 80.4%, 0%, 25.9%)
CIE-LABlab(33.86, 58.58, -67.14)
CIE-LCHlch(33.86, 89.11, 311.10°)
OKLaboklab(45.67% 0.0963 -0.1924)
OKLCHoklch(45.67% 0.215 296.6)
XYZxyz(15.5534, 7.9400, 48.8474)
Luminance0.0794 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6825BD #7ABD25
analogous
#252EBD #6825BD #B425BD
triadic
#6825BD #BD6825 #25BD68
tetradic
#6825BD #BD252E #7ABD25 #25BDB4
square
#6825BD #BD252E #7ABD25 #25BDB4
split-complementary
#6825BD #BDB425 #2EBD25
monochromatic
#301157 #4C1B8A #6825BD #8745DB #A878E5

Accessibility & contrast

On white

8.11
#6825BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#6825BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6825BD
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6825BD#FFFFFF#000000##FFFFFF
##6825BD1.008.112.598.11
#FFFFFF8.111.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050C1
Deuteranopia (green-blind)
#004EBA
Tritanopia (blue-blind)
#515172
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #6825bd;
/* rgb */ color: rgb(104, 37, 189);
/* oklch */ color: oklch(45.7% 0.215 296.6);
Tailwind
colors: {
  custom: {
    50: '#9c69d2',
    500: '#6825bd',
    950: '#000000',
  },
}
SCSS
$custom: #6825bd;
$custom-light: #9c69d2;
$custom-dark: #000000;
JSON
{
  "hex": "#6825bd",
  "rgb": {
    "r": 104,
    "g": 37,
    "b": 189
  },
  "hsl": {
    "h": 266.447,
    "s": 67.257,
    "l": 44.314
  },
  "oklch": {
    "l": 0.45669,
    "c": 0.2152,
    "h": 296.6
  },
  "luminance": 0.0794
}

Semantic roles & 50–950 ramp

primary
#6825BD
secondary
#A4CC72
accent
#EA3E9E
background
#FAF6FD
surface
#F4EBFA
border
#CEC6D3
text
#0F0714
muted
#7F7A83

Preview Lab

Preview with #6825BD

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

Preview Lab → · Contrast checker → · Palette generator →

#6825BD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva