#B068EC#B068EC

#B068EC is a light, vivid violet. Relative luminance 0.252; OKLCH L 65.4% C 0.197 H 307.0°. Best body text is #000000 at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#B068EC
RGBrgb(176, 104, 236)
HSLhsl(273, 78%, 67%)
HSVhsv(273, 56%, 93%)
CMYKcmyk(25.4%, 55.9%, 0%, 7.5%)
CIE-LABlab(57.26, 52.55, -55.80)
CIE-LCHlch(57.26, 76.65, 313.28°)
OKLaboklab(65.38% 0.1182 -0.1571)
OKLCHoklch(65.38% 0.197 307)
XYZxyz(37.9920, 25.1873, 82.2008)
Luminance0.2519 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B068EC #A4EC68
analogous
#6E68EC #B068EC #EC68E6
triadic
#B068EC #ECB068 #68ECB0
tetradic
#B068EC #EC6E68 #A4EC68 #68E6EC
square
#B068EC #EC6E68 #A4EC68 #68E6EC
split-complementary
#B068EC #E6EC68 #68EC6E
monochromatic
#7418C1 #9432E5 #B068EC #CC9EF3 #E9D5FA

Accessibility & contrast

On white

3.48
#B068EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.04
#B068EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B068EC
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B068EC#FFFFFF#000000##000000
##B068EC1.003.486.046.04
#FFFFFF3.481.0021.0021.00
#0000006.0421.001.001.00
##0000006.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3887F0
Deuteranopia (green-blind)
#538AE9
Tritanopia (blue-blind)
#A781A0
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #b068ec;
/* rgb */ color: rgb(176, 104, 236);
/* oklch */ color: oklch(65.4% 0.197 307.0);
Tailwind
colors: {
  custom: {
    50: '#cb96f3',
    500: '#b068ec',
    950: '#000000',
  },
}
SCSS
$custom: #b068ec;
$custom-light: #cb96f3;
$custom-dark: #000000;
JSON
{
  "hex": "#b068ec",
  "rgb": {
    "r": 176,
    "g": 104,
    "b": 236
  },
  "hsl": {
    "h": 272.727,
    "s": 77.647,
    "l": 66.667
  },
  "oklch": {
    "l": 0.65377,
    "c": 0.19663,
    "h": 307
  },
  "luminance": 0.25187
}

Semantic roles & 50–950 ramp

primary
#B068EC
secondary
#D6EDC3
accent
#DA0C69
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140E17
muted
#827E85

Preview Lab

Preview with #B068EC

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

Preview Lab → · Contrast checker → · Palette generator →

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