#B283F9#B283F9

#B283F9 is a light, vivid violet. Relative luminance 0.325; OKLCH L 70.5% C 0.171 H 300.5°. Best body text is #000000 at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#B283F9
RGBrgb(178, 131, 249)
HSLhsl(264, 91%, 75%)
HSVhsv(264, 47%, 98%)
CMYKcmyk(28.5%, 47.4%, 0%, 2.4%)
CIE-LABlab(63.78, 41.63, -52.60)
CIE-LCHlch(63.78, 67.08, 308.36°)
OKLaboklab(70.49% 0.0869 -0.1478)
OKLCHoklch(70.49% 0.171 300.5)
XYZxyz(43.5713, 32.5369, 93.5889)
Luminance0.3254 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B283F9 #CAF983
analogous
#838FF9 #B283F9 #ED83F9
triadic
#B283F9 #F9B283 #83F9B2
tetradic
#B283F9 #F9838F #CAF983 #83F9ED
square
#B283F9 #F9838F #CAF983 #83F9ED
split-complementary
#B283F9 #F9ED83 #8FF983
monochromatic
#6A0EF3 #8E49F6 #B283F9 #D6BDFC #EDE2FE

Accessibility & contrast

On white

2.80
#B283F9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.51
#B283F9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B283F9
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B283F9#FFFFFF#000000##000000
##B283F91.002.807.517.51
#FFFFFF2.801.0021.0021.00
#0000007.5121.001.001.00
##0000007.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E9AFD
Deuteranopia (green-blind)
#6A9AF6
Tritanopia (blue-blind)
#A498B2
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #b283f9;
/* rgb */ color: rgb(178, 131, 249);
/* oklch */ color: oklch(70.5% 0.171 300.5);
Tailwind
colors: {
  custom: {
    50: '#cca8fc',
    500: '#b283f9',
    950: '#000000',
  },
}
SCSS
$custom: #b283f9;
$custom-light: #cca8fc;
$custom-dark: #000000;
JSON
{
  "hex": "#b283f9",
  "rgb": {
    "r": 178,
    "g": 131,
    "b": 249
  },
  "hsl": {
    "h": 263.898,
    "s": 90.769,
    "l": 74.51
  },
  "oklch": {
    "l": 0.70485,
    "c": 0.17142,
    "h": 300.5
  },
  "luminance": 0.32537
}

Semantic roles & 50–950 ramp

primary
#B283F9
secondary
#E9F6D5
accent
#E6008A
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#141017
muted
#827F85

Preview Lab

Preview with #B283F9

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

Preview Lab → · Contrast checker → · Palette generator →

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