#B283F8#B283F8

#B283F8 is a light, vivid violet. Relative luminance 0.325; OKLCH L 70.4% C 0.170 H 300.7°. Best body text is #000000 at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#B283F8
RGBrgb(178, 131, 248)
HSLhsl(264, 89%, 74%)
HSVhsv(264, 47%, 97%)
CMYKcmyk(28.2%, 47.2%, 0%, 2.7%)
CIE-LABlab(63.73, 41.39, -52.13)
CIE-LCHlch(63.73, 66.57, 308.45°)
OKLaboklab(70.43% 0.0868 -0.1464)
OKLCHoklch(70.43% 0.17 300.7)
XYZxyz(43.4158, 32.4747, 92.7697)
Luminance0.3247 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B283F8 #C9F883
analogous
#838FF8 #B283F8 #ED83F8
triadic
#B283F8 #F8B283 #83F8B2
tetradic
#B283F8 #F8838F #C9F883 #83F8ED
square
#B283F8 #F8838F #C9F883 #83F8ED
split-complementary
#B283F8 #F8ED83 #8FF883
monochromatic
#6A0FF1 #8E49F5 #B283F8 #D6BDFB #EDE2FD

Accessibility & contrast

On white

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

On black

7.49
#B283F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B283F8
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B283F8#FFFFFF#000000##000000
##B283F81.002.807.497.49
#FFFFFF2.801.0021.0021.00
#0000007.4921.001.001.00
##0000007.4921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b283f8;
/* rgb */ color: rgb(178, 131, 248);
/* oklch */ color: oklch(70.4% 0.170 300.7);
Tailwind
colors: {
  custom: {
    50: '#cca8fb',
    500: '#b283f8',
    950: '#000000',
  },
}
SCSS
$custom: #b283f8;
$custom-light: #cca8fb;
$custom-dark: #000000;
JSON
{
  "hex": "#b283f8",
  "rgb": {
    "r": 178,
    "g": 131,
    "b": 248
  },
  "hsl": {
    "h": 264.103,
    "s": 89.313,
    "l": 74.314
  },
  "oklch": {
    "l": 0.7043,
    "c": 0.17018,
    "h": 300.7
  },
  "luminance": 0.32475
}

Semantic roles & 50–950 ramp

primary
#B283F8
secondary
#E9F5D6
accent
#E60089
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#141017
muted
#827F85

Preview Lab

Preview with #B283F8

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

Preview Lab → · Contrast checker → · Palette generator →

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