#B25ECB#B25ECB

#B25ECB is a light, vivid purple. Relative luminance 0.218; OKLCH L 62.3% C 0.177 H 318.0°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#B25ECB
RGBrgb(178, 94, 203)
HSLhsl(286, 51%, 58%)
HSVhsv(286, 54%, 80%)
CMYKcmyk(12.3%, 53.7%, 0%, 20.4%)
CIE-LABlab(53.80, 51.07, -42.67)
CIE-LCHlch(53.80, 66.55, 320.13°)
OKLaboklab(62.31% 0.1317 -0.1187)
OKLCHoklch(62.31% 0.177 318)
XYZxyz(33.1408, 21.7834, 58.9472)
Luminance0.2178 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B25ECB #77CB5E
analogous
#7B5ECB #B25ECB #CB5EAD
triadic
#B25ECB #CBB25E #5ECBB2
tetradic
#B25ECB #CB7B5E #77CB5E #5EADCB
square
#B25ECB #CB7B5E #77CB5E #5EADCB
split-complementary
#B25ECB #ADCB5E #5ECB7B
monochromatic
#6F2B84 #973AB2 #B25ECB #C88CDA #DEBBE9

Accessibility & contrast

On white

3.92
#B25ECB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.36
#B25ECB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B25ECB
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B25ECB#FFFFFF#000000##000000
##B25ECB1.003.925.365.36
#FFFFFF3.921.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#477BCF
Deuteranopia (green-blind)
#6383C8
Tritanopia (blue-blind)
#B26E8C
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #b25ecb;
/* rgb */ color: rgb(178, 94, 203);
/* oklch */ color: oklch(62.3% 0.177 318.0);
Tailwind
colors: {
  custom: {
    50: '#cb8fdb',
    500: '#b25ecb',
    950: '#000000',
  },
}
SCSS
$custom: #b25ecb;
$custom-light: #cb8fdb;
$custom-dark: #000000;
JSON
{
  "hex": "#b25ecb",
  "rgb": {
    "r": 178,
    "g": 94,
    "b": 203
  },
  "hsl": {
    "h": 286.239,
    "s": 51.174,
    "l": 58.235
  },
  "oklch": {
    "l": 0.62314,
    "c": 0.17731,
    "h": 318
  },
  "luminance": 0.21782
}

Semantic roles & 50–950 ramp

primary
#B25ECB
secondary
#B7D8AD
accent
#DB4D6E
background
#FCF9FD
surface
#F9F1FB
border
#D2CBD4
text
#140D15
muted
#827E83

Preview Lab

Preview with #B25ECB

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

Preview Lab → · Contrast checker → · Palette generator →

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