#B149ED#B149ED

#B149ED is a mid, highly saturated violet. Relative luminance 0.202; OKLCH L 61.7% C 0.240 H 310.2°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#B149ED
RGBrgb(177, 73, 237)
HSLhsl(278, 82%, 61%)
HSVhsv(278, 69%, 93%)
CMYKcmyk(25.3%, 69.2%, 0%, 7.1%)
CIE-LABlab(52.09, 67.58, -64.65)
CIE-LCHlch(52.09, 93.52, 316.27°)
OKLaboklab(61.69% 0.1547 -0.1829)
OKLCHoklch(61.69% 0.24 310.2)
XYZxyz(35.7971, 20.2274, 82.1229)
Luminance0.2023 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B149ED #85ED49
analogous
#5F49ED #B149ED #ED49D7
triadic
#B149ED #EDB149 #49EDB1
tetradic
#B149ED #ED5F49 #85ED49 #49D7ED
square
#B149ED #ED5F49 #85ED49 #49D7ED
split-complementary
#B149ED #D7ED49 #49ED5F
monochromatic
#7211AB #9816E2 #B149ED #C981F3 #E1B8F8

Accessibility & contrast

On white

4.16
#B149ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#B149ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B149ED
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B149ED#FFFFFF#000000##000000
##B149ED1.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078F2
Deuteranopia (green-blind)
#2D7EE9
Tritanopia (blue-blind)
#A96D96
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #b149ed;
/* rgb */ color: rgb(177, 73, 237);
/* oklch */ color: oklch(61.7% 0.240 310.2);
Tailwind
colors: {
  custom: {
    50: '#cd84f4',
    500: '#b149ed',
    950: '#000000',
  },
}
SCSS
$custom: #b149ed;
$custom-light: #cd84f4;
$custom-dark: #000000;
JSON
{
  "hex": "#b149ed",
  "rgb": {
    "r": 177,
    "g": 73,
    "b": 237
  },
  "hsl": {
    "h": 278.049,
    "s": 82,
    "l": 60.784
  },
  "oklch": {
    "l": 0.61687,
    "c": 0.23952,
    "h": 310.2
  },
  "luminance": 0.20227
}

Semantic roles & 50–950 ramp

primary
#B149ED
secondary
#C1E8AA
accent
#DE0756
background
#FDF8FF
surface
#FAF0FE
border
#D3CBD6
text
#140B17
muted
#837C85

Preview Lab

Preview with #B149ED

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

Preview Lab → · Contrast checker → · Palette generator →

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