#B24BE7#B24BE7

#B24BE7 is a mid, highly saturated violet. Relative luminance 0.203; OKLCH L 61.6% C 0.232 H 311.8°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#B24BE7
RGBrgb(178, 75, 231)
HSLhsl(280, 76%, 60%)
HSVhsv(280, 68%, 91%)
CMYKcmyk(22.9%, 67.5%, 0%, 9.4%)
CIE-LABlab(52.14, 65.69, -61.20)
CIE-LCHlch(52.14, 89.78, 317.03°)
OKLaboklab(61.62% 0.1545 -0.1727)
OKLCHoklch(61.62% 0.232 311.8)
XYZxyz(35.2973, 20.2676, 77.6384)
Luminance0.2027 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B24BE7 #80E74B
analogous
#644BE7 #B24BE7 #E74BCE
triadic
#B24BE7 #E7B24B #4BE7B2
tetradic
#B24BE7 #E7644B #80E74B #4BCEE7
square
#B24BE7 #E7644B #80E74B #4BCEE7
split-complementary
#B24BE7 #CEE74B #4BE764
monochromatic
#7216A2 #981DD8 #B24BE7 #C981EE #E0B7F5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B24BE7#FFFFFF#000000##000000
##B24BE71.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)
#0077EC
Deuteranopia (green-blind)
#3A7EE4
Tritanopia (blue-blind)
#AC6C93
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #b24be7;
/* rgb */ color: rgb(178, 75, 231);
/* oklch */ color: oklch(61.6% 0.232 311.8);
Tailwind
colors: {
  custom: {
    50: '#cd85ef',
    500: '#b24be7',
    950: '#000000',
  },
}
SCSS
$custom: #b24be7;
$custom-light: #cd85ef;
$custom-dark: #000000;
JSON
{
  "hex": "#b24be7",
  "rgb": {
    "r": 178,
    "g": 75,
    "b": 231
  },
  "hsl": {
    "h": 279.615,
    "s": 76.471,
    "l": 60
  },
  "oklch": {
    "l": 0.61624,
    "c": 0.23173,
    "h": 311.8
  },
  "luminance": 0.20267
}

Semantic roles & 50–950 ramp

primary
#B24BE7
secondary
#BDE5A9
accent
#F33575
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140C17
muted
#837D85

Preview Lab

Preview with #B24BE7

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

Preview Lab → · Contrast checker → · Palette generator →

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