#682BB8#682BB8

#682BB8 is a mid, highly saturated violet. Relative luminance 0.081; OKLCH L 45.8% C 0.204 H 297.1°. Best body text is #FFFFFF at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#682BB8
RGBrgb(104, 43, 184)
HSLhsl(266, 62%, 45%)
HSVhsv(266, 77%, 72%)
CMYKcmyk(43.5%, 76.6%, 0%, 27.8%)
CIE-LABlab(34.25, 54.91, -63.54)
CIE-LCHlch(34.25, 83.98, 310.84°)
OKLaboklab(45.81% 0.0932 -0.1819)
OKLCHoklch(45.81% 0.204 297.1)
XYZxyz(15.2223, 8.1312, 46.1056)
Luminance0.0813 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682BB8 #7BB82B
analogous
#2B35B8 #682BB8 #AF2BB8
triadic
#682BB8 #B8682B #2BB868
tetradic
#682BB8 #B82B35 #7BB82B #2BB8AF
square
#682BB8 #B82B35 #7BB82B #2BB8AF
split-complementary
#682BB8 #B8AF2B #35B82B
monochromatic
#301455 #4C1F86 #682BB8 #874BD5 #A87DE1

Accessibility & contrast

On white

8.00
#682BB8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#682BB8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #682BB8
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##682BB8#FFFFFF#000000##FFFFFF
##682BB81.008.002.638.00
#FFFFFF8.001.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF8.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051BC
Deuteranopia (green-blind)
#004FB5
Tritanopia (blue-blind)
#535170
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #682bb8;
/* rgb */ color: rgb(104, 43, 184);
/* oklch */ color: oklch(45.8% 0.204 297.1);
Tailwind
colors: {
  custom: {
    50: '#9b6bce',
    500: '#682bb8',
    950: '#000000',
  },
}
SCSS
$custom: #682bb8;
$custom-light: #9b6bce;
$custom-dark: #000000;
JSON
{
  "hex": "#682bb8",
  "rgb": {
    "r": 104,
    "g": 43,
    "b": 184
  },
  "hsl": {
    "h": 265.957,
    "s": 62.115,
    "l": 44.51
  },
  "oklch": {
    "l": 0.4581,
    "c": 0.2044,
    "h": 297.1
  },
  "luminance": 0.08132
}

Semantic roles & 50–950 ramp

primary
#682BB8
secondary
#A5C976
accent
#E5439F
background
#FAF6FC
surface
#F3ECF9
border
#CDC7D2
text
#0F0714
muted
#7F7A82

Preview Lab

Preview with #682BB8

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

Preview Lab → · Contrast checker → · Palette generator →

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