#B935DF#B935DF

#B935DF is a mid, highly saturated purple. Relative luminance 0.182; OKLCH L 59.9% C 0.251 H 317.3°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#B935DF
RGBrgb(185, 53, 223)
HSLhsl(287, 73%, 54%)
HSVhsv(287, 76%, 87%)
CMYKcmyk(17%, 76.2%, 0%, 12.5%)
CIE-LABlab(49.73, 73.71, -60.51)
CIE-LCHlch(49.73, 95.36, 320.62°)
OKLaboklab(59.95% 0.1845 -0.1704)
OKLCHoklch(59.95% 0.251 317.3)
XYZxyz(34.5980, 18.1897, 71.4863)
Luminance0.1819 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B935DF #5BDF35
analogous
#6435DF #B935DF #DF35B0
triadic
#B935DF #DFB935 #35DFB9
tetradic
#B935DF #DF6435 #5BDF35 #35B0DF
square
#B935DF #DF6435 #5BDF35 #35B0DF
split-complementary
#B935DF #B0DF35 #35DF64
monochromatic
#6C1585 #971DB9 #B935DF #CB6AE7 #DE9FF0

Accessibility & contrast

On white

4.53
#B935DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#B935DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B935DF
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B935DF#FFFFFF#000000##000000
##B935DF1.004.534.644.64
#FFFFFF4.531.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#006EE4
Deuteranopia (green-blind)
#397ADB
Tritanopia (blue-blind)
#B75B89
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #b935df;
/* rgb */ color: rgb(185, 53, 223);
/* oklch */ color: oklch(59.9% 0.251 317.3);
Tailwind
colors: {
  custom: {
    50: '#d37bea',
    500: '#b935df',
    950: '#000000',
  },
}
SCSS
$custom: #b935df;
$custom-light: #d37bea;
$custom-dark: #000000;
JSON
{
  "hex": "#b935df",
  "rgb": {
    "r": 185,
    "g": 53,
    "b": 223
  },
  "hsl": {
    "h": 286.588,
    "s": 72.65,
    "l": 54.118
  },
  "oklch": {
    "l": 0.59947,
    "c": 0.25112,
    "h": 317.3
  },
  "luminance": 0.18188
}

Semantic roles & 50–950 ramp

primary
#B935DF
secondary
#A4DC94
accent
#EF3861
background
#FDF8FE
surface
#FBEFFD
border
#D4CAD5
text
#150A16
muted
#837C84

Preview Lab

Preview with #B935DF

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

Preview Lab → · Contrast checker → · Palette generator →

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