#B255CF#B255CF

#B255CF is a mid, vivid purple. Relative luminance 0.205; OKLCH L 61.3% C 0.195 H 317.4°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#B255CF
RGBrgb(178, 85, 207)
HSLhsl(286, 56%, 57%)
HSVhsv(286, 59%, 81%)
CMYKcmyk(14%, 58.9%, 0%, 18.8%)
CIE-LABlab(52.36, 56.29, -47.22)
CIE-LCHlch(52.36, 73.48, 320.01°)
OKLaboklab(61.33% 0.1436 -0.1319)
OKLCHoklch(61.33% 0.195 317.4)
XYZxyz(32.8695, 20.4682, 61.2387)
Luminance0.2047 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B255CF #72CF55
analogous
#7555CF #B255CF #CF55AF
triadic
#B255CF #CFB255 #55CFB2
tetradic
#B255CF #CF7555 #72CF55 #55AFCF
square
#B255CF #CF7555 #72CF55 #55AFCF
split-complementary
#B255CF #AFCF55 #55CF75
monochromatic
#6E2584 #9533B4 #B255CF #C885DC #DDB4EA

Accessibility & contrast

On white

4.12
#B255CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#B255CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B255CF
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B255CF#FFFFFF#000000##000000
##B255CF1.004.125.095.09
#FFFFFF4.121.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3577D3
Deuteranopia (green-blind)
#5980CC
Tritanopia (blue-blind)
#B1698A
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #b255cf;
/* rgb */ color: rgb(178, 85, 207);
/* oklch */ color: oklch(61.3% 0.195 317.4);
Tailwind
colors: {
  custom: {
    50: '#cc8ade',
    500: '#b255cf',
    950: '#000000',
  },
}
SCSS
$custom: #b255cf;
$custom-light: #cc8ade;
$custom-dark: #000000;
JSON
{
  "hex": "#b255cf",
  "rgb": {
    "r": 178,
    "g": 85,
    "b": 207
  },
  "hsl": {
    "h": 285.738,
    "s": 55.963,
    "l": 57.255
  },
  "oklch": {
    "l": 0.61332,
    "c": 0.19501,
    "h": 317.4
  },
  "luminance": 0.20467
}

Semantic roles & 50–950 ramp

primary
#B255CF
secondary
#B3D9A7
accent
#DF496C
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#140C15
muted
#827D83

Preview Lab

Preview with #B255CF

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

Preview Lab → · Contrast checker → · Palette generator →

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