#B283F6#B283F6

#B283F6 is a light, vivid violet. Relative luminance 0.324; OKLCH L 70.3% C 0.168 H 301.1°. Best body text is #000000 at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#B283F6
RGBrgb(178, 131, 246)
HSLhsl(265, 86%, 74%)
HSVhsv(265, 47%, 96%)
CMYKcmyk(27.6%, 46.7%, 0%, 3.5%)
CIE-LABlab(63.63, 40.91, -51.19)
CIE-LCHlch(63.63, 65.53, 308.63°)
OKLaboklab(70.32% 0.0865 -0.1437)
OKLCHoklch(70.32% 0.168 301.1)
XYZxyz(43.1072, 32.3513, 91.1443)
Luminance0.3235 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B283F6 #C7F683
analogous
#838EF6 #B283F6 #EC83F6
triadic
#B283F6 #F6B283 #83F6B2
tetradic
#B283F6 #F6838E #C7F683 #83F6EC
square
#B283F6 #F6838E #C7F683 #83F6EC
split-complementary
#B283F6 #F6EC83 #8EF683
monochromatic
#6B11ED #8F4AF2 #B283F6 #D5BCFA #EDE2FD

Accessibility & contrast

On white

2.81
#B283F6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.47
#B283F6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B283F6
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B283F6#FFFFFF#000000##000000
##B283F61.002.817.477.47
#FFFFFF2.811.0021.0021.00
#0000007.4721.001.001.00
##0000007.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#609AFA
Deuteranopia (green-blind)
#6C9AF3
Tritanopia (blue-blind)
#A598B1
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #b283f6;
/* rgb */ color: rgb(178, 131, 246);
/* oklch */ color: oklch(70.3% 0.168 301.1);
Tailwind
colors: {
  custom: {
    50: '#cca8f9',
    500: '#b283f6',
    950: '#000000',
  },
}
SCSS
$custom: #b283f6;
$custom-light: #cca8f9;
$custom-dark: #000000;
JSON
{
  "hex": "#b283f6",
  "rgb": {
    "r": 178,
    "g": 131,
    "b": 246
  },
  "hsl": {
    "h": 264.522,
    "s": 86.466,
    "l": 73.922
  },
  "oklch": {
    "l": 0.70322,
    "c": 0.16771,
    "h": 301.1
  },
  "luminance": 0.32351
}

Semantic roles & 50–950 ramp

primary
#B283F6
secondary
#E8F5D6
accent
#E30387
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#141017
muted
#827F85

Preview Lab

Preview with #B283F6

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

Preview Lab → · Contrast checker → · Palette generator →

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