#B25CEE#B25CEE

#B25CEE is a light, highly saturated violet. Relative luminance 0.233; OKLCH L 64.1% C 0.217 H 308.6°. Best body text is #000000 at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#B25CEE
RGBrgb(178, 92, 238)
HSLhsl(275, 81%, 65%)
HSVhsv(275, 61%, 93%)
CMYKcmyk(25.2%, 61.3%, 0%, 6.7%)
CIE-LABlab(55.37, 59.46, -59.93)
CIE-LCHlch(55.37, 84.42, 314.78°)
OKLaboklab(64.09% 0.1352 -0.1691)
OKLCHoklch(64.09% 0.217 308.6)
XYZxyz(37.6168, 23.2929, 83.3867)
Luminance0.2329 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B25CEE #98EE5C
analogous
#695CEE #B25CEE #EE5CE1
triadic
#B25CEE #EEB25C #5CEEB2
tetradic
#B25CEE #EE695C #98EE5C #5CE1EE
square
#B25CEE #EE695C #98EE5C #5CE1EE
split-complementary
#B25CEE #E1EE5C #5CEE69
monochromatic
#7714BC #9825E8 #B25CEE #CC93F4 #E6CBFA

Accessibility & contrast

On white

3.71
#B25CEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.66
#B25CEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B25CEE
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B25CEE#FFFFFF#000000##000000
##B25CEE1.003.715.665.66
#FFFFFF3.711.0021.0021.00
#0000005.6621.001.001.00
##0000005.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#1081F3
Deuteranopia (green-blind)
#4686EB
Tritanopia (blue-blind)
#A9799D
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #b25cee;
/* rgb */ color: rgb(178, 92, 238);
/* oklch */ color: oklch(64.1% 0.217 308.6);
Tailwind
colors: {
  custom: {
    50: '#cd8ff4',
    500: '#b25cee',
    950: '#000000',
  },
}
SCSS
$custom: #b25cee;
$custom-light: #cd8ff4;
$custom-dark: #000000;
JSON
{
  "hex": "#b25cee",
  "rgb": {
    "r": 178,
    "g": 92,
    "b": 238
  },
  "hsl": {
    "h": 275.342,
    "s": 81.111,
    "l": 64.706
  },
  "oklch": {
    "l": 0.64092,
    "c": 0.21651,
    "h": 308.6
  },
  "luminance": 0.23292
}

Semantic roles & 50–950 ramp

primary
#B25CEE
secondary
#CEECBA
accent
#DD0860
background
#FDF9FF
surface
#FAF1FE
border
#D3CBD6
text
#140D17
muted
#837E85

Preview Lab

Preview with #B25CEE

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

Preview Lab → · Contrast checker → · Palette generator →

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