#682BB5#682BB5

#682BB5 is a mid, highly saturated violet. Relative luminance 0.080; OKLCH L 45.6% C 0.201 H 297.8°. Best body text is #FFFFFF at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#682BB5
RGBrgb(104, 43, 181)
HSLhsl(267, 62%, 44%)
HSVhsv(267, 76%, 71%)
CMYKcmyk(42.5%, 76.2%, 0%, 29%)
CIE-LABlab(34.00, 54.16, -62.18)
CIE-LCHlch(34.00, 82.46, 311.06°)
OKLaboklab(45.55% 0.094 -0.1779)
OKLCHoklch(45.55% 0.201 297.8)
XYZxyz(14.9111, 8.0067, 44.4669)
Luminance0.0801 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682BB5 #78B52B
analogous
#2B33B5 #682BB5 #AD2BB5
triadic
#682BB5 #B5682B #2BB568
tetradic
#682BB5 #B52B33 #78B52B #2BB5AD
square
#682BB5 #B52B33 #78B52B #2BB5AD
split-complementary
#682BB5 #B5AD2B #33B52B
monochromatic
#2F1452 #4C1F84 #682BB5 #8749D4 #A77BE0

Accessibility & contrast

On white

8.07
#682BB5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#682BB5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #682BB5
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##682BB5#FFFFFF#000000##FFFFFF
##682BB51.008.072.608.07
#FFFFFF8.071.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B9
Deuteranopia (green-blind)
#004EB2
Tritanopia (blue-blind)
#54506F
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #682bb5;
/* rgb */ color: rgb(104, 43, 181);
/* oklch */ color: oklch(45.6% 0.201 297.8);
Tailwind
colors: {
  custom: {
    50: '#9a6bcc',
    500: '#682bb5',
    950: '#000000',
  },
}
SCSS
$custom: #682bb5;
$custom-light: #9a6bcc;
$custom-dark: #000000;
JSON
{
  "hex": "#682bb5",
  "rgb": {
    "r": 104,
    "g": 43,
    "b": 181
  },
  "hsl": {
    "h": 266.522,
    "s": 61.607,
    "l": 43.922
  },
  "oklch": {
    "l": 0.4555,
    "c": 0.20123,
    "h": 297.8
  },
  "luminance": 0.08007
}

Semantic roles & 50–950 ramp

primary
#682BB5
secondary
#A3C874
accent
#E5439D
background
#FAF6FC
surface
#F3ECF9
border
#CDC7D2
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #682BB5

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

Preview Lab → · Contrast checker → · Palette generator →

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