#B045FF#B045FF

#B045FF is a light, highly saturated violet. Relative luminance 0.207; OKLCH L 62.4% C 0.261 H 306.3°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#B045FF
RGBrgb(176, 69, 255)
HSLhsl(275, 100%, 64%)
HSVhsv(275, 73%, 100%)
CMYKcmyk(31%, 72.9%, 0%, 0%)
CIE-LABlab(52.63, 72.79, -73.84)
CIE-LCHlch(52.63, 103.69, 314.59°)
OKLaboklab(62.43% 0.1544 -0.2099)
OKLCHoklch(62.43% 0.261 306.3)
XYZxyz(38.0787, 20.7067, 96.5791)
Luminance0.2071 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B045FF #94FF45
analogous
#5345FF #B045FF #FF45F1
triadic
#B045FF #FFB045 #45FFB0
tetradic
#B045FF #FF5345 #94FF45 #45F1FF
square
#B045FF #FF5345 #94FF45 #45F1FF
split-complementary
#B045FF #F1FF45 #45FF53
monochromatic
#7400CA #9608FF #B045FF #CA82FF #E4BFFF

Accessibility & contrast

On white

4.08
#B045FF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#B045FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B045FF
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B045FF#FFFFFF#000000##000000
##B045FF1.004.085.145.14
#FFFFFF4.081.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AFF
Deuteranopia (green-blind)
#007EFB
Tritanopia (blue-blind)
#A2729F
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #b045ff;
/* rgb */ color: rgb(176, 69, 255);
/* oklch */ color: oklch(62.4% 0.261 306.3);
Tailwind
colors: {
  custom: {
    50: '#ce82ff',
    500: '#b045ff',
    950: '#000000',
  },
}
SCSS
$custom: #b045ff;
$custom-light: #ce82ff;
$custom-dark: #000000;
JSON
{
  "hex": "#b045ff",
  "rgb": {
    "r": 176,
    "g": 69,
    "b": 255
  },
  "hsl": {
    "h": 274.516,
    "s": 100,
    "l": 63.529
  },
  "oklch": {
    "l": 0.62426,
    "c": 0.26059,
    "h": 306.3
  },
  "luminance": 0.20706
}

Semantic roles & 50–950 ramp

primary
#B045FF
secondary
#CBF1AF
accent
#E60061
background
#FDF8FF
surface
#FAF0FF
border
#D3CBD7
text
#140B18
muted
#837C86

Preview Lab

Preview with #B045FF

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

Preview Lab → · Contrast checker → · Palette generator →

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