#B35CEF#B35CEF

#B35CEF is a light, highly saturated violet. Relative luminance 0.235; OKLCH L 64.3% C 0.218 H 308.8°. Best body text is #000000 at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#B35CEF
RGBrgb(179, 92, 239)
HSLhsl(276, 82%, 65%)
HSVhsv(276, 62%, 94%)
CMYKcmyk(25.1%, 61.5%, 0%, 6.3%)
CIE-LABlab(55.55, 59.90, -60.19)
CIE-LCHlch(55.55, 84.92, 314.86°)
OKLaboklab(64.27% 0.1364 -0.1698)
OKLCHoklch(64.27% 0.218 308.8)
XYZxyz(37.9944, 23.4706, 84.1734)
Luminance0.2347 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B35CEF #98EF5C
analogous
#695CEF #B35CEF #EF5CE2
triadic
#B35CEF #EFB35C #5CEFB3
tetradic
#B35CEF #EF695C #98EF5C #5CE2EF
square
#B35CEF #EF695C #98EF5C #5CE2EF
split-complementary
#B35CEF #E2EF5C #5CEF69
monochromatic
#7813BE #9924EA #B35CEF #CD94F4 #E7CBFA

Accessibility & contrast

On white

3.69
#B35CEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.69
#B35CEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B35CEF
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B35CEF#FFFFFF#000000##000000
##B35CEF1.003.695.695.69
#FFFFFF3.691.0021.0021.00
#0000005.6921.001.001.00
##0000005.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0E82F4
Deuteranopia (green-blind)
#4686EC
Tritanopia (blue-blind)
#AA799D
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #b35cef;
/* rgb */ color: rgb(179, 92, 239);
/* oklch */ color: oklch(64.3% 0.218 308.8);
Tailwind
colors: {
  custom: {
    50: '#ce8ff5',
    500: '#b35cef',
    950: '#000000',
  },
}
SCSS
$custom: #b35cef;
$custom-light: #ce8ff5;
$custom-dark: #000000;
JSON
{
  "hex": "#b35cef",
  "rgb": {
    "r": 179,
    "g": 92,
    "b": 239
  },
  "hsl": {
    "h": 275.51,
    "s": 82.123,
    "l": 64.902
  },
  "oklch": {
    "l": 0.64268,
    "c": 0.21784,
    "h": 308.8
  },
  "luminance": 0.2347
}

Semantic roles & 50–950 ramp

primary
#B35CEF
secondary
#CFECBA
accent
#DF075F
background
#FDF9FF
surface
#FAF1FE
border
#D3CBD6
text
#140D17
muted
#837E85

Preview Lab

Preview with #B35CEF

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

Preview Lab → · Contrast checker → · Palette generator →

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