#682CBF#682CBF

#682CBF is a mid, highly saturated violet. Relative luminance 0.085; OKLCH L 46.5% C 0.211 H 295.4°. Best body text is #FFFFFF at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#682CBF
RGBrgb(104, 44, 191)
HSLhsl(264, 63%, 46%)
HSVhsv(264, 77%, 75%)
CMYKcmyk(45.5%, 77%, 0%, 25.1%)
CIE-LABlab(35.01, 56.25, -66.42)
CIE-LCHlch(35.01, 87.04, 310.26°)
OKLaboklab(46.53% 0.0905 -0.1904)
OKLCHoklch(46.53% 0.211 295.4)
XYZxyz(16.0110, 8.5056, 50.0783)
Luminance0.0851 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682CBF #83BF2C
analogous
#2C39BF #682CBF #B12CBF
triadic
#682CBF #BF682C #2CBF68
tetradic
#682CBF #BF2C39 #83BF2C #2CBFB1
square
#682CBF #BF2C39 #83BF2C #2CBFB1
split-complementary
#682CBF #BFB12C #39BF2C
monochromatic
#32155C #4D218D #682CBF #8851D7 #AA83E2

Accessibility & contrast

On white

7.77
#682CBF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#682CBF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #682CBF
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##682CBF#FFFFFF#000000##FFFFFF
##682CBF1.007.772.707.77
#FFFFFF7.771.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053C3
Deuteranopia (green-blind)
#0050BC
Tritanopia (blue-blind)
#4F5475
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #682cbf;
/* rgb */ color: rgb(104, 44, 191);
/* oklch */ color: oklch(46.5% 0.211 295.4);
Tailwind
colors: {
  custom: {
    50: '#9b6cd3',
    500: '#682cbf',
    950: '#000000',
  },
}
SCSS
$custom: #682cbf;
$custom-light: #9b6cd3;
$custom-dark: #000000;
JSON
{
  "hex": "#682cbf",
  "rgb": {
    "r": 104,
    "g": 44,
    "b": 191
  },
  "hsl": {
    "h": 264.49,
    "s": 62.553,
    "l": 46.078
  },
  "oklch": {
    "l": 0.46529,
    "c": 0.2108,
    "h": 295.4
  },
  "luminance": 0.08506
}

Semantic roles & 50–950 ramp

primary
#682CBF
secondary
#ABCC7B
accent
#E642A3
background
#FAF6FD
surface
#F4ECFA
border
#CEC7D3
text
#0F0714
muted
#7F7A83

Preview Lab

Preview with #682CBF

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

Preview Lab → · Contrast checker → · Palette generator →

#682CBF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva