#B25CEB#B25CEB

#B25CEB is a light, highly saturated violet. Relative luminance 0.231; OKLCH L 63.9% C 0.213 H 309.3°. Best body text is #000000 at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#B25CEB
RGBrgb(178, 92, 235)
HSLhsl(276, 78%, 64%)
HSVhsv(276, 61%, 92%)
CMYKcmyk(24.3%, 60.9%, 0%, 7.8%)
CIE-LABlab(55.19, 58.80, -58.53)
CIE-LCHlch(55.19, 82.97, 315.13°)
OKLaboklab(63.91% 0.1353 -0.165)
OKLCHoklch(63.91% 0.213 309.3)
XYZxyz(37.1797, 23.1181, 81.0848)
Luminance0.2312 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B25CEB #95EB5C
analogous
#6B5CEB #B25CEB #EB5CDD
triadic
#B25CEB #EBB25C #5CEBB2
tetradic
#B25CEB #EB6B5C #95EB5C #5CDDEB
square
#B25CEB #EB6B5C #95EB5C #5CDDEB
split-complementary
#B25CEB #DDEB5C #5CEB6B
monochromatic
#7716B6 #9825E4 #B25CEB #CC93F2 #E6C9F8

Accessibility & contrast

On white

3.73
#B25CEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.62
#B25CEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B25CEB
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B25CEB#FFFFFF#000000##000000
##B25CEB1.003.735.625.62
#FFFFFF3.731.0021.0021.00
#0000005.6221.001.001.00
##0000005.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#1A80EF
Deuteranopia (green-blind)
#4985E8
Tritanopia (blue-blind)
#AA789B
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #b25ceb;
/* rgb */ color: rgb(178, 92, 235);
/* oklch */ color: oklch(63.9% 0.213 309.3);
Tailwind
colors: {
  custom: {
    50: '#cd8ef2',
    500: '#b25ceb',
    950: '#000000',
  },
}
SCSS
$custom: #b25ceb;
$custom-light: #cd8ef2;
$custom-dark: #000000;
JSON
{
  "hex": "#b25ceb",
  "rgb": {
    "r": 178,
    "g": 92,
    "b": 235
  },
  "hsl": {
    "h": 276.084,
    "s": 78.142,
    "l": 64.118
  },
  "oklch": {
    "l": 0.63905,
    "c": 0.21339,
    "h": 309.3
  },
  "luminance": 0.23117
}

Semantic roles & 50–950 ramp

primary
#B25CEB
secondary
#CCEAB8
accent
#DA0B5E
background
#FDF9FE
surface
#FAF1FD
border
#D3CBD5
text
#140D17
muted
#837E85

Preview Lab

Preview with #B25CEB

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

Preview Lab → · Contrast checker → · Palette generator →

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