#7230BA#7230BA

#7230BA is a mid, highly saturated violet. Relative luminance 0.092; OKLCH L 47.7% C 0.203 H 300.5°. Best body text is #FFFFFF at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#7230BA
RGBrgb(114, 48, 186)
HSLhsl(269, 59%, 46%)
HSVhsv(269, 74%, 73%)
CMYKcmyk(38.7%, 74.2%, 0%, 27.1%)
CIE-LABlab(36.44, 54.91, -61.11)
CIE-LCHlch(36.44, 82.15, 311.94°)
OKLaboklab(47.67% 0.1029 -0.1745)
OKLCHoklch(47.67% 0.203 300.5)
XYZxyz(16.8571, 9.2363, 47.3395)
Luminance0.0924 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7230BA #78BA30
analogous
#3033BA #7230BA #B730BA
triadic
#7230BA #BA7230 #30BA72
tetradic
#7230BA #BA3033 #78BA30 #30BAB7
square
#7230BA #BA3033 #78BA30 #30BAB7
split-complementary
#7230BA #BAB730 #33BA30
monochromatic
#361759 #542389 #7230BA #9154D3 #B085DF

Accessibility & contrast

On white

7.38
#7230BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#7230BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7230BA
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7230BA#FFFFFF#000000##FFFFFF
##7230BA1.007.382.857.38
#FFFFFF7.381.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055BE
Deuteranopia (green-blind)
#0055B7
Tritanopia (blue-blind)
#625373
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #7230ba;
/* rgb */ color: rgb(114, 48, 186);
/* oklch */ color: oklch(47.7% 0.203 300.5);
Tailwind
colors: {
  custom: {
    50: '#a16fd0',
    500: '#7230ba',
    950: '#000000',
  },
}
SCSS
$custom: #7230ba;
$custom-light: #a16fd0;
$custom-dark: #000000;
JSON
{
  "hex": "#7230ba",
  "rgb": {
    "r": 114,
    "g": 48,
    "b": 186
  },
  "hsl": {
    "h": 268.696,
    "s": 58.974,
    "l": 45.882
  },
  "oklch": {
    "l": 0.47669,
    "c": 0.20256,
    "h": 300.5
  },
  "luminance": 0.09236
}

Semantic roles & 50–950 ramp

primary
#7230BA
secondary
#A5C97D
accent
#E24697
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100814
muted
#7F7B82

Preview Lab

Preview with #7230BA

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

Preview Lab → · Contrast checker → · Palette generator →

#7230BA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva