#682BB0#682BB0

#682BB0 is a mid, vivid violet. Relative luminance 0.078; OKLCH L 45.1% C 0.196 H 299.1°. Best body text is #FFFFFF at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#682BB0
RGBrgb(104, 43, 176)
HSLhsl(268, 61%, 43%)
HSVhsv(268, 76%, 69%)
CMYKcmyk(40.9%, 75.6%, 0%, 31%)
CIE-LABlab(33.57, 52.91, -59.90)
CIE-LCHlch(33.57, 79.92, 311.46°)
OKLaboklab(45.12% 0.0953 -0.1712)
OKLCHoklch(45.12% 0.196 299.1)
XYZxyz(14.4073, 7.8052, 41.8134)
Luminance0.0780 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682BB0 #73B02B
analogous
#2B30B0 #682BB0 #AB2BB0
triadic
#682BB0 #B0682B #2BB068
tetradic
#682BB0 #B02B30 #73B02B #2BB0AB
square
#682BB0 #B02B30 #73B02B #2BB0AB
split-complementary
#682BB0 #B0AB2B #30B02B
monochromatic
#2E134E #4B1F7F #682BB0 #8646D2 #A678DE

Accessibility & contrast

On white

8.20
#682BB0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#682BB0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #682BB0
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##682BB0#FFFFFF#000000##FFFFFF
##682BB01.008.202.568.20
#FFFFFF8.201.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB4
Deuteranopia (green-blind)
#004EAD
Tritanopia (blue-blind)
#574E6C
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #682bb0;
/* rgb */ color: rgb(104, 43, 176);
/* oklch */ color: oklch(45.1% 0.196 299.1);
Tailwind
colors: {
  custom: {
    50: '#9a6bc9',
    500: '#682bb0',
    950: '#000000',
  },
}
SCSS
$custom: #682bb0;
$custom-light: #9a6bc9;
$custom-dark: #000000;
JSON
{
  "hex": "#682bb0",
  "rgb": {
    "r": 104,
    "g": 43,
    "b": 176
  },
  "hsl": {
    "h": 267.519,
    "s": 60.731,
    "l": 42.941
  },
  "oklch": {
    "l": 0.45122,
    "c": 0.19594,
    "h": 299.1
  },
  "luminance": 0.07805
}

Semantic roles & 50–950 ramp

primary
#682BB0
secondary
#9FC671
accent
#E4449B
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0F0713
muted
#7E7A82

Preview Lab

Preview with #682BB0

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

Preview Lab → · Contrast checker → · Palette generator →

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