#B283F4#B283F4

#B283F4 is a light, vivid violet. Relative luminance 0.322; OKLCH L 70.2% C 0.165 H 301.5°. Best body text is #000000 at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#B283F4
RGBrgb(178, 131, 244)
HSLhsl(265, 84%, 74%)
HSVhsv(265, 46%, 96%)
CMYKcmyk(27%, 46.3%, 0%, 4.3%)
CIE-LABlab(63.53, 40.44, -50.25)
CIE-LCHlch(63.53, 64.50, 308.82°)
OKLaboklab(70.21% 0.0863 -0.1409)
OKLCHoklch(70.21% 0.165 301.5)
XYZxyz(42.8018, 32.2291, 89.5363)
Luminance0.3223 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B283F4 #C5F483
analogous
#838CF4 #B283F4 #EB83F4
triadic
#B283F4 #F4B283 #83F4B2
tetradic
#B283F4 #F4838C #C5F483 #83F4EB
square
#B283F4 #F4838C #C5F483 #83F4EB
split-complementary
#B283F4 #F4EB83 #8CF483
monochromatic
#6D15E8 #8F4BEF #B283F4 #D5BBF9 #EEE3FD

Accessibility & contrast

On white

2.82
#B283F4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.45
#B283F4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B283F4
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B283F4#FFFFFF#000000##000000
##B283F41.002.827.457.45
#FFFFFF2.821.0021.0021.00
#0000007.4521.001.001.00
##0000007.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6299F8
Deuteranopia (green-blind)
#6D99F1
Tritanopia (blue-blind)
#A697B0
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #b283f4;
/* rgb */ color: rgb(178, 131, 244);
/* oklch */ color: oklch(70.2% 0.165 301.5);
Tailwind
colors: {
  custom: {
    50: '#cba8f8',
    500: '#b283f4',
    950: '#000000',
  },
}
SCSS
$custom: #b283f4;
$custom-light: #cba8f8;
$custom-dark: #000000;
JSON
{
  "hex": "#b283f4",
  "rgb": {
    "r": 178,
    "g": 131,
    "b": 244
  },
  "hsl": {
    "h": 264.956,
    "s": 83.704,
    "l": 73.529
  },
  "oklch": {
    "l": 0.70214,
    "c": 0.16524,
    "h": 301.5
  },
  "luminance": 0.32229
}

Semantic roles & 50–950 ramp

primary
#B283F4
secondary
#E8F4D7
accent
#E00585
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#141017
muted
#827F85

Preview Lab

Preview with #B283F4

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

Preview Lab → · Contrast checker → · Palette generator →

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