#B34CEC#B34CEC

#B34CEC is a light, highly saturated violet. Relative luminance 0.208; OKLCH L 62.2% C 0.236 H 310.9°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#B34CEC
RGBrgb(179, 76, 236)
HSLhsl(279, 81%, 61%)
HSVhsv(279, 68%, 93%)
CMYKcmyk(24.2%, 67.8%, 0%, 7.5%)
CIE-LABlab(52.74, 66.51, -63.03)
CIE-LCHlch(52.74, 91.63, 316.54°)
OKLaboklab(62.18% 0.1542 -0.1781)
OKLCHoklch(62.18% 0.236 310.9)
XYZxyz(36.3123, 20.8096, 81.4444)
Luminance0.2081 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B34CEC #85EC4C
analogous
#634CEC #B34CEC #EC4CD5
triadic
#B34CEC #ECB34C #4CECB3
tetradic
#B34CEC #EC634C #85EC4C #4CD5EC
square
#B34CEC #EC634C #85EC4C #4CD5EC
split-complementary
#B34CEC #D5EC4C #4CEC63
monochromatic
#7512AB #9B18E3 #B34CEC #CA83F2 #E2BBF8

Accessibility & contrast

On white

4.07
#B34CEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#B34CEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B34CEC
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B34CEC#FFFFFF#000000##000000
##B34CEC1.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079F1
Deuteranopia (green-blind)
#3680E8
Tritanopia (blue-blind)
#AC6E96
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #b34cec;
/* rgb */ color: rgb(179, 76, 236);
/* oklch */ color: oklch(62.2% 0.236 310.9);
Tailwind
colors: {
  custom: {
    50: '#ce85f3',
    500: '#b34cec',
    950: '#000000',
  },
}
SCSS
$custom: #b34cec;
$custom-light: #ce85f3;
$custom-dark: #000000;
JSON
{
  "hex": "#b34cec",
  "rgb": {
    "r": 179,
    "g": 76,
    "b": 236
  },
  "hsl": {
    "h": 278.625,
    "s": 80.808,
    "l": 61.176
  },
  "oklch": {
    "l": 0.62183,
    "c": 0.23559,
    "h": 310.9
  },
  "luminance": 0.20809
}

Semantic roles & 50–950 ramp

primary
#B34CEC
secondary
#C1E8AC
accent
#DD0854
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140C17
muted
#837D85

Preview Lab

Preview with #B34CEC

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

Preview Lab → · Contrast checker → · Palette generator →

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