#B38CF2#B38CF2

#B38CF2 is a light, vivid violet. Relative luminance 0.348; OKLCH L 71.7% C 0.149 H 300.3°. Best body text is #000000 at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#B38CF2
RGBrgb(179, 140, 242)
HSLhsl(263, 80%, 75%)
HSVhsv(263, 42%, 95%)
CMYKcmyk(26%, 42.1%, 0%, 5.1%)
CIE-LABlab(65.55, 35.24, -45.95)
CIE-LCHlch(65.55, 57.91, 307.48°)
OKLaboklab(71.72% 0.0751 -0.1284)
OKLCHoklch(71.72% 0.149 300.3)
XYZxyz(43.9919, 34.7505, 88.3771)
Luminance0.3475 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B38CF2 #CBF28C
analogous
#8C98F2 #B38CF2 #E68CF2
triadic
#B38CF2 #F2B38C #8CF2B3
tetradic
#B38CF2 #F28C98 #CBF28C #8CF2E6
square
#B38CF2 #F28C98 #CBF28C #8CF2E6
split-complementary
#B38CF2 #F2E68C #98F28C
monochromatic
#6A1EE6 #8F55EC #B38CF2 #D7C3F8 #EDE4FC

Accessibility & contrast

On white

2.64
#B38CF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.95
#B38CF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B38CF2
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B38CF2#FFFFFF#000000##000000
##B38CF21.002.647.957.95
#FFFFFF2.641.0021.0021.00
#0000007.9521.001.001.00
##0000007.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#709FF6
Deuteranopia (green-blind)
#789FEF
Tritanopia (blue-blind)
#A79EB3
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #b38cf2;
/* rgb */ color: rgb(179, 140, 242);
/* oklch */ color: oklch(71.7% 0.149 300.3);
Tailwind
colors: {
  custom: {
    50: '#ccaef7',
    500: '#b38cf2',
    950: '#000000',
  },
}
SCSS
$custom: #b38cf2;
$custom-light: #ccaef7;
$custom-dark: #000000;
JSON
{
  "hex": "#b38cf2",
  "rgb": {
    "r": 179,
    "g": 140,
    "b": 242
  },
  "hsl": {
    "h": 262.941,
    "s": 79.687,
    "l": 74.902
  },
  "oklch": {
    "l": 0.71724,
    "c": 0.14876,
    "h": 300.3
  },
  "luminance": 0.34751
}

Semantic roles & 50–950 ramp

primary
#B38CF2
secondary
#E9F4D7
accent
#DC0A8C
background
#FCFAFF
surface
#F9F4FE
border
#D2CED6
text
#141017
muted
#827F85

Preview Lab

Preview with #B38CF2

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

Preview Lab → · Contrast checker → · Palette generator →

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