#B35FEC#B35FEC

#B35FEC is a light, highly saturated violet. Relative luminance 0.238; OKLCH L 64.5% C 0.211 H 309.2°. Best body text is #000000 at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#B35FEC
RGBrgb(179, 95, 236)
HSLhsl(276, 79%, 65%)
HSVhsv(276, 60%, 93%)
CMYKcmyk(24.2%, 59.7%, 0%, 7.5%)
CIE-LABlab(55.91, 57.79, -57.94)
CIE-LCHlch(55.91, 81.83, 314.93°)
OKLaboklab(64.47% 0.133 -0.1632)
OKLCHoklch(64.47% 0.211 309.2)
XYZxyz(37.8200, 23.8249, 81.9469)
Luminance0.2382 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B35FEC #98EC5F
analogous
#6D5FEC #B35FEC #EC5FDE
triadic
#B35FEC #ECB35F #5FECB3
tetradic
#B35FEC #EC6D5F #98EC5F #5FDEEC
square
#B35FEC #EC6D5F #98EC5F #5FDEEC
split-complementary
#B35FEC #DEEC5F #5FEC6D
monochromatic
#7816BA #9928E6 #B35FEC #CD96F2 #E7CCF9

Accessibility & contrast

On white

3.64
#B35FEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.76
#B35FEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B35FEC
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B35FEC#FFFFFF#000000##000000
##B35FEC1.003.645.765.76
#FFFFFF3.641.0021.0021.00
#0000005.7621.001.001.00
##0000005.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2482F0
Deuteranopia (green-blind)
#4C87E9
Tritanopia (blue-blind)
#AB7A9D
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #b35fec;
/* rgb */ color: rgb(179, 95, 236);
/* oklch */ color: oklch(64.5% 0.211 309.2);
Tailwind
colors: {
  custom: {
    50: '#cd90f3',
    500: '#b35fec',
    950: '#000000',
  },
}
SCSS
$custom: #b35fec;
$custom-light: #cd90f3;
$custom-dark: #000000;
JSON
{
  "hex": "#b35fec",
  "rgb": {
    "r": 179,
    "g": 95,
    "b": 236
  },
  "hsl": {
    "h": 275.745,
    "s": 78.771,
    "l": 64.902
  },
  "oklch": {
    "l": 0.64471,
    "c": 0.21054,
    "h": 309.2
  },
  "luminance": 0.23824
}

Semantic roles & 50–950 ramp

primary
#B35FEC
secondary
#CFEBBB
accent
#DB0A5F
background
#FDF9FE
surface
#FAF1FD
border
#D3CBD5
text
#140D17
muted
#837E85

Preview Lab

Preview with #B35FEC

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

Preview Lab → · Contrast checker → · Palette generator →

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