#B05CEB#B05CEB

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

Color values

HEX#B05CEB
RGBrgb(176, 92, 235)
HSLhsl(275, 78%, 64%)
HSVhsv(275, 61%, 92%)
CMYKcmyk(25.1%, 60.9%, 0%, 7.8%)
CIE-LABlab(54.95, 58.35, -58.94)
CIE-LCHlch(54.95, 82.93, 314.71°)
OKLaboklab(63.68% 0.1328 -0.1663)
OKLCHoklch(63.68% 0.213 308.6)
XYZxyz(36.7240, 22.8831, 81.0634)
Luminance0.2288 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B05CEB #97EB5C
analogous
#695CEB #B05CEB #EB5CDE
triadic
#B05CEB #EBB05C #5CEBB0
tetradic
#B05CEB #EB695C #97EB5C #5CDEEB
square
#B05CEB #EB695C #97EB5C #5CDEEB
split-complementary
#B05CEB #DEEB5C #5CEB69
monochromatic
#7416B6 #9625E4 #B05CEB #CA93F2 #E5C9F8

Accessibility & contrast

On white

3.77
#B05CEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.58
#B05CEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B05CEB
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B05CEB#FFFFFF#000000##000000
##B05CEB1.003.775.585.58
#FFFFFF3.771.0021.0021.00
#0000005.5821.001.001.00
##0000005.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#1780EF
Deuteranopia (green-blind)
#4785E8
Tritanopia (blue-blind)
#A7789B
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #b05ceb;
/* rgb */ color: rgb(176, 92, 235);
/* oklch */ color: oklch(63.7% 0.213 308.6);
Tailwind
colors: {
  custom: {
    50: '#cb8ef2',
    500: '#b05ceb',
    950: '#000000',
  },
}
SCSS
$custom: #b05ceb;
$custom-light: #cb8ef2;
$custom-dark: #000000;
JSON
{
  "hex": "#b05ceb",
  "rgb": {
    "r": 176,
    "g": 92,
    "b": 235
  },
  "hsl": {
    "h": 275.245,
    "s": 78.142,
    "l": 64.118
  },
  "oklch": {
    "l": 0.63676,
    "c": 0.21279,
    "h": 308.6
  },
  "luminance": 0.22883
}

Semantic roles & 50–950 ramp

primary
#B05CEB
secondary
#CDEAB8
accent
#DA0B61
background
#FCF9FE
surface
#F9F1FD
border
#D2CBD5
text
#140D17
muted
#827E85

Preview Lab

Preview with #B05CEB

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

Preview Lab → · Contrast checker → · Palette generator →

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