#682BC0#682BC0

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

Color values

HEX#682BC0
RGBrgb(104, 43, 192)
HSLhsl(265, 63%, 46%)
HSVhsv(265, 78%, 75%)
CMYKcmyk(45.8%, 77.6%, 0%, 24.7%)
CIE-LABlab(34.96, 56.93, -67.11)
CIE-LCHlch(34.96, 88.00, 310.31°)
OKLaboklab(46.52% 0.091 -0.1924)
OKLCHoklch(46.52% 0.213 295.3)
XYZxyz(16.0847, 8.4762, 50.6475)
Luminance0.0848 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682BC0 #83C02B
analogous
#2B38C0 #682BC0 #B22BC0
triadic
#682BC0 #C0682B #2BC068
tetradic
#682BC0 #C02B38 #83C02B #2BC0B2
square
#682BC0 #C02B38 #83C02B #2BC0B2
split-complementary
#682BC0 #C0B22B #38C02B
monochromatic
#32155C #4D208E #682BC0 #8850D8 #AA82E3

Accessibility & contrast

On white

7.79
#682BC0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #682BC0
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##682BC0#FFFFFF#000000##FFFFFF
##682BC01.007.792.707.79
#FFFFFF7.791.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.791.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #682bc0;
/* rgb */ color: rgb(104, 43, 192);
/* oklch */ color: oklch(46.5% 0.213 295.3);
Tailwind
colors: {
  custom: {
    50: '#9c6cd4',
    500: '#682bc0',
    950: '#000000',
  },
}
SCSS
$custom: #682bc0;
$custom-light: #9c6cd4;
$custom-dark: #000000;
JSON
{
  "hex": "#682bc0",
  "rgb": {
    "r": 104,
    "g": 43,
    "b": 192
  },
  "hsl": {
    "h": 264.564,
    "s": 63.404,
    "l": 46.078
  },
  "oklch": {
    "l": 0.46515,
    "c": 0.21282,
    "h": 295.3
  },
  "luminance": 0.08477
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #682BC0

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

Preview Lab → · Contrast checker → · Palette generator →

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