#B35CEB#B35CEB

#B35CEB is a light, highly saturated violet. Relative luminance 0.232; OKLCH L 64.0% C 0.214 H 309.7°. Best body text is #000000 at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#B35CEB
RGBrgb(179, 92, 235)
HSLhsl(277, 78%, 64%)
HSVhsv(277, 61%, 92%)
CMYKcmyk(23.8%, 60.9%, 0%, 7.8%)
CIE-LABlab(55.32, 59.03, -58.33)
CIE-LCHlch(55.32, 82.99, 315.34°)
OKLaboklab(64.02% 0.1365 -0.1644)
OKLCHoklch(64.02% 0.214 309.7)
XYZxyz(37.4100, 23.2369, 81.0956)
Luminance0.2324 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B35CEB #94EB5C
analogous
#6C5CEB #B35CEB #EB5CDC
triadic
#B35CEB #EBB35C #5CEBB3
tetradic
#B35CEB #EB6C5C #94EB5C #5CDCEB
square
#B35CEB #EB6C5C #94EB5C #5CDCEB
split-complementary
#B35CEB #DCEB5C #5CEB6C
monochromatic
#7816B6 #9A25E4 #B35CEB #CC93F2 #E6C9F8

Accessibility & contrast

On white

3.72
#B35CEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.65
#B35CEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B35CEB
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B35CEB#FFFFFF#000000##000000
##B35CEB1.003.725.655.65
#FFFFFF3.721.0021.0021.00
#0000005.6521.001.001.00
##0000005.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#1B81EF
Deuteranopia (green-blind)
#4A86E8
Tritanopia (blue-blind)
#AB789B
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #b35ceb;
/* rgb */ color: rgb(179, 92, 235);
/* oklch */ color: oklch(64.0% 0.214 309.7);
Tailwind
colors: {
  custom: {
    50: '#cd8ff2',
    500: '#b35ceb',
    950: '#000000',
  },
}
SCSS
$custom: #b35ceb;
$custom-light: #cd8ff2;
$custom-dark: #000000;
JSON
{
  "hex": "#b35ceb",
  "rgb": {
    "r": 179,
    "g": 92,
    "b": 235
  },
  "hsl": {
    "h": 276.503,
    "s": 78.142,
    "l": 64.118
  },
  "oklch": {
    "l": 0.64019,
    "c": 0.2137,
    "h": 309.7
  },
  "luminance": 0.23236
}

Semantic roles & 50–950 ramp

primary
#B35CEB
secondary
#CCEAB8
accent
#DA0B5C
background
#FDF9FE
surface
#FAF1FD
border
#D3CBD5
text
#140D17
muted
#837E85

Preview Lab

Preview with #B35CEB

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

Preview Lab → · Contrast checker → · Palette generator →

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