#B250E4#B250E4

#B250E4 is a mid, highly saturated violet. Relative luminance 0.208; OKLCH L 62.0% C 0.223 H 312.1°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#B250E4
RGBrgb(178, 80, 228)
HSLhsl(280, 73%, 60%)
HSVhsv(280, 65%, 89%)
CMYKcmyk(21.9%, 64.9%, 0%, 10.6%)
CIE-LABlab(52.74, 62.89, -58.55)
CIE-LCHlch(52.74, 85.93, 317.05°)
OKLaboklab(61.99% 0.1493 -0.165)
OKLCHoklch(61.99% 0.223 312.1)
XYZxyz(35.2298, 20.8047, 75.5436)
Luminance0.2080 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B250E4 #82E450
analogous
#6850E4 #B250E4 #E450CC
triadic
#B250E4 #E4B250 #50E4B2
tetradic
#B250E4 #E46850 #82E450 #50CCE4
square
#B250E4 #E46850 #82E450 #50CCE4
split-complementary
#B250E4 #CCE450 #50E468
monochromatic
#7319A1 #9921D6 #B250E4 #C985EC #E1BAF4

Accessibility & contrast

On white

4.07
#B250E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#B250E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B250E4
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B250E4#FFFFFF#000000##000000
##B250E41.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079E8
Deuteranopia (green-blind)
#4380E1
Tritanopia (blue-blind)
#AC6D93
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #b250e4;
/* rgb */ color: rgb(178, 80, 228);
/* oklch */ color: oklch(62.0% 0.223 312.1);
Tailwind
colors: {
  custom: {
    50: '#cd87ed',
    500: '#b250e4',
    950: '#000000',
  },
}
SCSS
$custom: #b250e4;
$custom-light: #cd87ed;
$custom-dark: #000000;
JSON
{
  "hex": "#b250e4",
  "rgb": {
    "r": 178,
    "g": 80,
    "b": 228
  },
  "hsl": {
    "h": 279.73,
    "s": 73.267,
    "l": 60.392
  },
  "oklch": {
    "l": 0.61992,
    "c": 0.22251,
    "h": 312.1
  },
  "luminance": 0.20804
}

Semantic roles & 50–950 ramp

primary
#B250E4
secondary
#BFE4AC
accent
#D51053
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140C16
muted
#837D84

Preview Lab

Preview with #B250E4

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

Preview Lab → · Contrast checker → · Palette generator →

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