#B05CEC#B05CEC

#B05CEC is a light, highly saturated violet. Relative luminance 0.229; OKLCH L 63.7% C 0.214 H 308.4°. Best body text is #000000 at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#B05CEC
RGBrgb(176, 92, 236)
HSLhsl(275, 79%, 64%)
HSVhsv(275, 61%, 93%)
CMYKcmyk(25.4%, 61%, 0%, 7.5%)
CIE-LABlab(55.01, 58.57, -59.40)
CIE-LCHlch(55.01, 83.42, 314.60°)
OKLaboklab(63.74% 0.1328 -0.1676)
OKLCHoklch(63.74% 0.214 308.4)
XYZxyz(36.8689, 22.9411, 81.8264)
Luminance0.2294 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B05CEC #98EC5C
analogous
#685CEC #B05CEC #EC5CE0
triadic
#B05CEC #ECB05C #5CECB0
tetradic
#B05CEC #EC685C #98EC5C #5CE0EC
square
#B05CEC #EC685C #98EC5C #5CE0EC
split-complementary
#B05CEC #E0EC5C #5CEC68
monochromatic
#7415B8 #9525E6 #B05CEC #CB93F2 #E5CAF9

Accessibility & contrast

On white

3.76
#B05CEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.59
#B05CEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B05CEC
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B05CEC#FFFFFF#000000##000000
##B05CEC1.003.765.595.59
#FFFFFF3.761.0021.0021.00
#0000005.5921.001.001.00
##0000005.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#1480F1
Deuteranopia (green-blind)
#4585E9
Tritanopia (blue-blind)
#A7789C
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #b05cec;
/* rgb */ color: rgb(176, 92, 236);
/* oklch */ color: oklch(63.7% 0.214 308.4);
Tailwind
colors: {
  custom: {
    50: '#cb8ef3',
    500: '#b05cec',
    950: '#000000',
  },
}
SCSS
$custom: #b05cec;
$custom-light: #cb8ef3;
$custom-dark: #000000;
JSON
{
  "hex": "#b05cec",
  "rgb": {
    "r": 176,
    "g": 92,
    "b": 236
  },
  "hsl": {
    "h": 275,
    "s": 79.121,
    "l": 64.314
  },
  "oklch": {
    "l": 0.63739,
    "c": 0.21383,
    "h": 308.4
  },
  "luminance": 0.22941
}

Semantic roles & 50–950 ramp

primary
#B05CEC
secondary
#CEEBB9
accent
#DB0A61
background
#FCF9FE
surface
#F9F1FD
border
#D2CBD5
text
#140D17
muted
#827E85

Preview Lab

Preview with #B05CEC

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

Preview Lab → · Contrast checker → · Palette generator →

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