#B135CA#B135CA

#B135CA is a mid, highly saturated purple. Relative luminance 0.162; OKLCH L 57.5% C 0.231 H 320.3°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#B135CA
RGBrgb(177, 53, 202)
HSLhsl(290, 58%, 50%)
HSVhsv(290, 74%, 79%)
CMYKcmyk(12.4%, 73.8%, 0%, 20.8%)
CIE-LABlab(47.18, 68.34, -52.63)
CIE-LCHlch(47.18, 86.25, 322.40°)
OKLaboklab(57.48% 0.1775 -0.1475)
OKLCHoklch(57.48% 0.231 320.3)
XYZxyz(30.0639, 16.1591, 57.4011)
Luminance0.1616 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B135CA #4ECA35
analogous
#6735CA #B135CA #CA3598
triadic
#B135CA #CAB135 #35CAB1
tetradic
#B135CA #CA6735 #4ECA35 #3598CA
square
#B135CA #CA6735 #4ECA35 #3598CA
split-complementary
#B135CA #98CA35 #35CA67
monochromatic
#5C1C69 #87289A #B135CA #C465D7 #D696E3

Accessibility & contrast

On white

4.96
#B135CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#B135CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B135CA
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B135CA#FFFFFF#000000##FFFFFF
##B135CA1.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067CE
Deuteranopia (green-blind)
#4474C7
Tritanopia (blue-blind)
#B2537D
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #b135ca;
/* rgb */ color: rgb(177, 53, 202);
/* oklch */ color: oklch(57.5% 0.231 320.3);
Tailwind
colors: {
  custom: {
    50: '#cc79db',
    500: '#b135ca',
    950: '#000000',
  },
}
SCSS
$custom: #b135ca;
$custom-light: #cc79db;
$custom-dark: #000000;
JSON
{
  "hex": "#b135ca",
  "rgb": {
    "r": 177,
    "g": 53,
    "b": 202
  },
  "hsl": {
    "h": 289.933,
    "s": 58.431,
    "l": 50
  },
  "oklch": {
    "l": 0.57481,
    "c": 0.23081,
    "h": 320.3
  },
  "luminance": 0.16158
}

Semantic roles & 50–950 ramp

primary
#B135CA
secondary
#97CF8C
accent
#E24660
background
#FDF7FD
surface
#FAEEFB
border
#D3C9D4
text
#140A15
muted
#837C83

Preview Lab

Preview with #B135CA

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

Preview Lab → · Contrast checker → · Palette generator →

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