#B335BE#B335BE

#B335BE is a mid, highly saturated purple. Relative luminance 0.158; OKLCH L 57.0% C 0.222 H 324.5°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#B335BE
RGBrgb(179, 53, 190)
HSLhsl(295, 56%, 48%)
HSVhsv(295, 72%, 75%)
CMYKcmyk(5.8%, 72.1%, 0%, 25.5%)
CIE-LABlab(46.78, 66.63, -46.30)
CIE-LCHlch(46.78, 81.13, 325.20°)
OKLaboklab(57.02% 0.1805 -0.129)
OKLCHoklch(57.02% 0.222 324.5)
XYZxyz(29.1570, 15.8494, 50.2287)
Luminance0.1585 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B335BE #40BE35
analogous
#6E35BE #B335BE #BE3585
triadic
#B335BE #BEB335 #35BEB3
tetradic
#B335BE #BE6E35 #40BE35 #3585BE
square
#B335BE #BE6E35 #40BE35 #3585BE
split-complementary
#B335BE #85BE35 #35BE6E
monochromatic
#591A5E #86288E #B335BE #C95ED2 #D98EDF

Accessibility & contrast

On white

5.04
#B335BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#B335BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B335BE
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B335BE#FFFFFF#000000##FFFFFF
##B335BE1.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0265C2
Deuteranopia (green-blind)
#4F74BB
Tritanopia (blue-blind)
#B74D77
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #b335be;
/* rgb */ color: rgb(179, 53, 190);
/* oklch */ color: oklch(57.0% 0.222 324.5);
Tailwind
colors: {
  custom: {
    50: '#ce79d2',
    500: '#b335be',
    950: '#000000',
  },
}
SCSS
$custom: #b335be;
$custom-light: #ce79d2;
$custom-dark: #000000;
JSON
{
  "hex": "#b335be",
  "rgb": {
    "r": 179,
    "g": 53,
    "b": 190
  },
  "hsl": {
    "h": 295.182,
    "s": 56.379,
    "l": 47.647
  },
  "oklch": {
    "l": 0.57023,
    "c": 0.22184,
    "h": 324.5
  },
  "luminance": 0.15848
}

Semantic roles & 50–950 ramp

primary
#B335BE
secondary
#8ACA85
accent
#E04854
background
#FDF7FD
surface
#FAEEFA
border
#D3C9D3
text
#140A14
muted
#837C83

Preview Lab

Preview with #B335BE

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

Preview Lab → · Contrast checker → · Palette generator →

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