#B754F3#B754F3

#B754F3 is a light, highly saturated violet. Relative luminance 0.229; OKLCH L 64.0% C 0.234 H 310.0°. Best body text is #000000 at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#B754F3
RGBrgb(183, 84, 243)
HSLhsl(277, 87%, 64%)
HSVhsv(277, 65%, 95%)
CMYKcmyk(24.7%, 65.4%, 0%, 4.7%)
CIE-LABlab(54.95, 65.33, -63.37)
CIE-LCHlch(54.95, 91.01, 315.87°)
OKLaboklab(64.02% 0.1501 -0.179)
OKLCHoklch(64.02% 0.234 310)
XYZxyz(38.8733, 22.8798, 87.1451)
Luminance0.2288 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B754F3 #90F354
analogous
#6854F3 #B754F3 #F354E0
triadic
#B754F3 #F3B754 #54F3B7
tetradic
#B754F3 #F36854 #90F354 #54E0F3
square
#B754F3 #F36854 #90F354 #54E0F3
split-complementary
#B754F3 #E0F354 #54F368
monochromatic
#7C0DBF #9F1BEF #B754F3 #CF8DF7 #E7C6FB

Accessibility & contrast

On white

3.77
#B754F3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.58
#B754F3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B754F3
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B754F3#FFFFFF#000000##000000
##B754F31.003.775.585.58
#FFFFFF3.771.0021.0021.00
#0000005.5821.001.001.00
##0000005.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FF8
Deuteranopia (green-blind)
#3C85EF
Tritanopia (blue-blind)
#AF759D
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #b754f3;
/* rgb */ color: rgb(183, 84, 243);
/* oklch */ color: oklch(64.0% 0.234 310.0);
Tailwind
colors: {
  custom: {
    50: '#d18af8',
    500: '#b754f3',
    950: '#000000',
  },
}
SCSS
$custom: #b754f3;
$custom-light: #d18af8;
$custom-dark: #000000;
JSON
{
  "hex": "#b754f3",
  "rgb": {
    "r": 183,
    "g": 84,
    "b": 243
  },
  "hsl": {
    "h": 277.358,
    "s": 86.885,
    "l": 64.118
  },
  "oklch": {
    "l": 0.64016,
    "c": 0.23363,
    "h": 310
  },
  "luminance": 0.22879
}

Semantic roles & 50–950 ramp

primary
#B754F3
secondary
#CBEDB6
accent
#E30257
background
#FDF8FF
surface
#FAF0FF
border
#D3CBD7
text
#140C17
muted
#837D85

Preview Lab

Preview with #B754F3

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

Preview Lab → · Contrast checker → · Palette generator →

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