#B678F2#B678F2

#B678F2 is a light, vivid violet. Relative luminance 0.298; OKLCH L 68.7% C 0.181 H 305.6°. Best body text is #000000 at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#B678F2
RGBrgb(182, 120, 242)
HSLhsl(270, 82%, 71%)
HSVhsv(270, 50%, 95%)
CMYKcmyk(24.8%, 50.4%, 0%, 5.1%)
CIE-LABlab(61.47, 47.00, -52.39)
CIE-LCHlch(61.47, 70.38, 311.90°)
OKLaboklab(68.74% 0.1054 -0.147)
OKLCHoklch(68.74% 0.181 305.6)
XYZxyz(42.0315, 29.7891, 87.5228)
Luminance0.2979 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B678F2 #B4F278
analogous
#7978F2 #B678F2 #F278F1
triadic
#B678F2 #F2B678 #78F2B6
tetradic
#B678F2 #F27978 #B4F278 #78F1F2
square
#B678F2 #F27978 #B4F278 #78F1F2
split-complementary
#B678F2 #F1F278 #78F279
monochromatic
#7915DB #9840ED #B678F2 #D4B0F7 #F0E3FC

Accessibility & contrast

On white

3.02
#B678F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.96
#B678F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B678F2
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B678F2#FFFFFF#000000##000000
##B678F21.003.026.966.96
#FFFFFF3.021.0021.0021.00
#0000006.9621.001.001.00
##0000006.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5392F6
Deuteranopia (green-blind)
#6595EF
Tritanopia (blue-blind)
#AC8EAA
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #b678f2;
/* rgb */ color: rgb(182, 120, 242);
/* oklch */ color: oklch(68.7% 0.181 305.6);
Tailwind
colors: {
  custom: {
    50: '#cfa1f7',
    500: '#b678f2',
    950: '#000000',
  },
}
SCSS
$custom: #b678f2;
$custom-light: #cfa1f7;
$custom-dark: #000000;
JSON
{
  "hex": "#b678f2",
  "rgb": {
    "r": 182,
    "g": 120,
    "b": 242
  },
  "hsl": {
    "h": 270.492,
    "s": 82.432,
    "l": 70.98
  },
  "oklch": {
    "l": 0.68739,
    "c": 0.1809,
    "h": 305.6
  },
  "luminance": 0.29789
}

Semantic roles & 50–950 ramp

primary
#B678F2
secondary
#E3F3D3
accent
#DF0771
background
#FCFAFF
surface
#F9F3FF
border
#D2CDD7
text
#140F17
muted
#827F85

Preview Lab

Preview with #B678F2

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

Preview Lab → · Contrast checker → · Palette generator →

#B678F2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva