#B283F0#B283F0

#B283F0 is a light, vivid violet. Relative luminance 0.320; OKLCH L 70.0% C 0.160 H 302.4°. Best body text is #000000 at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#B283F0
RGBrgb(178, 131, 240)
HSLhsl(266, 78%, 73%)
HSVhsv(266, 45%, 94%)
CMYKcmyk(25.8%, 45.4%, 0%, 5.9%)
CIE-LABlab(63.33, 39.49, -48.36)
CIE-LCHlch(63.33, 62.43, 309.24°)
OKLaboklab(70% 0.0858 -0.1354)
OKLCHoklch(70% 0.16 302.4)
XYZxyz(42.2011, 31.9888, 86.3724)
Luminance0.3199 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B283F0 #C1F083
analogous
#838AF0 #B283F0 #E983F0
triadic
#B283F0 #F0B283 #83F0B2
tetradic
#B283F0 #F0838A #C1F083 #83F0E9
square
#B283F0 #F0838A #C1F083 #83F0E9
split-complementary
#B283F0 #F0E983 #8AF083
monochromatic
#6F1BDE #904CE9 #B283F0 #D4BAF7 #EEE4FC

Accessibility & contrast

On white

2.84
#B283F0 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.40
#B283F0 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B283F0
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B283F0#FFFFFF#000000##000000
##B283F01.002.847.407.40
#FFFFFF2.841.0021.0021.00
#0000007.4021.001.001.00
##0000007.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6498F4
Deuteranopia (green-blind)
#6F99ED
Tritanopia (blue-blind)
#A796AE
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #b283f0;
/* rgb */ color: rgb(178, 131, 240);
/* oklch */ color: oklch(70.0% 0.160 302.4);
Tailwind
colors: {
  custom: {
    50: '#cba8f5',
    500: '#b283f0',
    950: '#000000',
  },
}
SCSS
$custom: #b283f0;
$custom-light: #cba8f5;
$custom-dark: #000000;
JSON
{
  "hex": "#b283f0",
  "rgb": {
    "r": 178,
    "g": 131,
    "b": 240
  },
  "hsl": {
    "h": 265.872,
    "s": 78.417,
    "l": 72.745
  },
  "oklch": {
    "l": 0.70001,
    "c": 0.16029,
    "h": 302.4
  },
  "luminance": 0.31989
}

Semantic roles & 50–950 ramp

primary
#B283F0
secondary
#E7F3D8
accent
#DB0B81
background
#FCFAFF
surface
#F9F4FE
border
#D2CED6
text
#140F17
muted
#827F85

Preview Lab

Preview with #B283F0

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

Preview Lab → · Contrast checker → · Palette generator →

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