#B35CEC#B35CEC

#B35CEC is a light, highly saturated violet. Relative luminance 0.233; OKLCH L 64.1% C 0.215 H 309.5°. Best body text is #000000 at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#B35CEC
RGBrgb(179, 92, 236)
HSLhsl(276, 79%, 64%)
HSVhsv(276, 61%, 93%)
CMYKcmyk(24.2%, 61%, 0%, 7.5%)
CIE-LABlab(55.37, 59.25, -58.80)
CIE-LCHlch(55.37, 83.47, 315.22°)
OKLaboklab(64.08% 0.1365 -0.1658)
OKLCHoklch(64.08% 0.215 309.5)
XYZxyz(37.5549, 23.2948, 81.8586)
Luminance0.2329 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B35CEC #95EC5C
analogous
#6B5CEC #B35CEC #EC5CDD
triadic
#B35CEC #ECB35C #5CECB3
tetradic
#B35CEC #EC6B5C #95EC5C #5CDDEC
square
#B35CEC #EC6B5C #95EC5C #5CDDEC
split-complementary
#B35CEC #DDEC5C #5CEC6B
monochromatic
#7815B8 #9925E6 #B35CEC #CD93F2 #E6CAF9

Accessibility & contrast

On white

3.71
#B35CEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.66
#B35CEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B35CEC
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B35CEC#FFFFFF#000000##000000
##B35CEC1.003.715.665.66
#FFFFFF3.711.0021.0021.00
#0000005.6621.001.001.00
##0000005.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#1981F1
Deuteranopia (green-blind)
#4986E9
Tritanopia (blue-blind)
#AB789C
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #b35cec;
/* rgb */ color: rgb(179, 92, 236);
/* oklch */ color: oklch(64.1% 0.215 309.5);
Tailwind
colors: {
  custom: {
    50: '#cd8ff3',
    500: '#b35cec',
    950: '#000000',
  },
}
SCSS
$custom: #b35cec;
$custom-light: #cd8ff3;
$custom-dark: #000000;
JSON
{
  "hex": "#b35cec",
  "rgb": {
    "r": 179,
    "g": 92,
    "b": 236
  },
  "hsl": {
    "h": 276.25,
    "s": 79.121,
    "l": 64.314
  },
  "oklch": {
    "l": 0.64081,
    "c": 0.21474,
    "h": 309.5
  },
  "luminance": 0.23294
}

Semantic roles & 50–950 ramp

primary
#B35CEC
secondary
#CDEBB9
accent
#DB0A5D
background
#FDF9FE
surface
#FAF1FD
border
#D3CBD5
text
#140D17
muted
#837E85

Preview Lab

Preview with #B35CEC

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

Preview Lab → · Contrast checker → · Palette generator →

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